wip
This commit is contained in:
parent
cc825b14da
commit
923903d9f5
@ -72,3 +72,9 @@ func (m *NftMarket) CreateAskOrder(ctx context.Context, collection common.Addres
|
||||
return m.contract.CreateAskOrder(opts.TransactOpts, collection, big.NewInt(int64(tokenid)), m.wbnb.ValueToBigInt(price))
|
||||
}, opts...)
|
||||
}
|
||||
|
||||
func (m *NftMarket) ModifyAskOrder(ctx context.Context, collection common.Address, tokenid int, price decimal.Decimal, opts ...evm.ExecutionOption) (evm.Transaction, error) {
|
||||
return m.client.Execute(ctx, func(ctx context.Context, opts *evm.TransactOpts) (*types.Transaction, error) {
|
||||
return m.contract.ModifyAskOrder(opts.TransactOpts, collection, big.NewInt(int64(tokenid)), m.wbnb.ValueToBigInt(price))
|
||||
}, opts...)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user