Skip to content

Commit

Permalink
update contract v4_2 & feralfiletoken
Browse files Browse the repository at this point in the history
  • Loading branch information
hvthhien committed May 24, 2024
1 parent ebcc12b commit 00f469b
Show file tree
Hide file tree
Showing 5 changed files with 577 additions and 9 deletions.
8 changes: 0 additions & 8 deletions contracts/feralfile-exhibition-v4/feralfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,6 @@ func (c *FeralfileExhibitionV4Contract) Call(
}

return contract.SetAdvanceSetting(t, params[0].([]common.Address), params[1].([]*big.Int))
case "updateTokenInformation":
if len(params) != 3 {
return nil, errors.New("Invalid parameters")
}

return contract.UpdateTokenInformation(t, params[0].(*big.Int), params[1].(string), params[2].([]byte))
default:
return nil, fmt.Errorf("unsupported method")
}
Expand Down Expand Up @@ -389,8 +383,6 @@ func (c *FeralfileExhibitionV4Contract) Parse(
}

return []interface{}{params.AdvanceAddresses, advanceAmounts}, nil
case "updateTokenInformation":
return []interface{}{}, nil
default:
return nil, fmt.Errorf("unsupported method")
}
Expand Down
Loading

0 comments on commit 00f469b

Please sign in to comment.