Documentation ¶
Index ¶
- Constants
- type CoordinatorRegistry
- type CoordinatorRegistryCaller
- type CoordinatorRegistryCallerRaw
- type CoordinatorRegistryCallerSession
- type CoordinatorRegistryCoordinatorEndpointSet
- type CoordinatorRegistryCoordinatorEndpointSetIterator
- type CoordinatorRegistryFilterer
- func (_CoordinatorRegistry *CoordinatorRegistryFilterer) FilterCoordinatorEndpointSet(opts *bind.FilterOpts) (*CoordinatorRegistryCoordinatorEndpointSetIterator, error)
- func (_CoordinatorRegistry *CoordinatorRegistryFilterer) WatchCoordinatorEndpointSet(opts *bind.WatchOpts, sink chan<- *CoordinatorRegistryCoordinatorEndpointSet) (event.Subscription, error)
- type CoordinatorRegistryRaw
- func (_CoordinatorRegistry *CoordinatorRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CoordinatorRegistry *CoordinatorRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CoordinatorRegistry *CoordinatorRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CoordinatorRegistrySession
- type CoordinatorRegistryTransactor
- type CoordinatorRegistryTransactorRaw
- type CoordinatorRegistryTransactorSession
- type DevUtils
- type DevUtilsCaller
- func (_DevUtils *DevUtilsCaller) DecodeAssetProxyDispatchError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeAssetProxyExistsError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeAssetProxyTransferError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeEIP1271SignatureError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeERC1155AssetData(opts *bind.CallOpts, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeERC20AssetData(opts *bind.CallOpts, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeERC721AssetData(opts *bind.CallOpts, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeExchangeInvalidContextError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeFillError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeIncompleteFillError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeMultiAssetData(opts *bind.CallOpts, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeNegativeSpreadError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeOrderEpochError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeOrderStatusError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeSignatureError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeSignatureValidatorNotApprovedError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeSignatureWalletError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeTransactionError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeTransactionExecutionError(opts *bind.CallOpts, encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) DecodeZeroExTransactionData(opts *bind.CallOpts, transactionData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) EncodeERC1155AssetData(opts *bind.CallOpts, tokenAddress common.Address, tokenIds []*big.Int, ...) ([]byte, error)
- func (_DevUtils *DevUtilsCaller) EncodeERC20AssetData(opts *bind.CallOpts, tokenAddress common.Address) ([]byte, error)
- func (_DevUtils *DevUtilsCaller) EncodeERC721AssetData(opts *bind.CallOpts, tokenAddress common.Address, tokenId *big.Int) ([]byte, error)
- func (_DevUtils *DevUtilsCaller) EncodeMultiAssetData(opts *bind.CallOpts, amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)
- func (_DevUtils *DevUtilsCaller) GetAssetProxyAllowance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)
- func (_DevUtils *DevUtilsCaller) GetBalance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)
- func (_DevUtils *DevUtilsCaller) GetBalanceAndAssetProxyAllowance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) GetBatchAssetProxyAllowances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
- func (_DevUtils *DevUtilsCaller) GetBatchBalances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
- func (_DevUtils *DevUtilsCaller) GetBatchBalancesAndAssetProxyAllowances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) GetEthBalances(opts *bind.CallOpts, addresses []common.Address) ([]*big.Int, error)
- func (_DevUtils *DevUtilsCaller) GetOrderRelevantState(opts *bind.CallOpts, order Struct0, signature []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) GetOrderRelevantStates(opts *bind.CallOpts, orders []Struct0, signatures [][]byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCaller) GetTransferableAssetAmount(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)
- type DevUtilsCallerRaw
- type DevUtilsCallerSession
- func (_DevUtils *DevUtilsCallerSession) DecodeAssetProxyDispatchError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeAssetProxyExistsError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeAssetProxyTransferError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeEIP1271SignatureError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeERC1155AssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeERC20AssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeERC721AssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeExchangeInvalidContextError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeFillError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeIncompleteFillError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeMultiAssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeNegativeSpreadError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeOrderEpochError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeOrderStatusError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeSignatureError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeSignatureValidatorNotApprovedError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeSignatureWalletError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeTransactionError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeTransactionExecutionError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) DecodeZeroExTransactionData(transactionData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) EncodeERC1155AssetData(tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, ...) ([]byte, error)
- func (_DevUtils *DevUtilsCallerSession) EncodeERC20AssetData(tokenAddress common.Address) ([]byte, error)
- func (_DevUtils *DevUtilsCallerSession) EncodeERC721AssetData(tokenAddress common.Address, tokenId *big.Int) ([]byte, error)
- func (_DevUtils *DevUtilsCallerSession) EncodeMultiAssetData(amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)
- func (_DevUtils *DevUtilsCallerSession) GetAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
- func (_DevUtils *DevUtilsCallerSession) GetBalance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
- func (_DevUtils *DevUtilsCallerSession) GetBalanceAndAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) GetBatchAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
- func (_DevUtils *DevUtilsCallerSession) GetBatchBalances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
- func (_DevUtils *DevUtilsCallerSession) GetBatchBalancesAndAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) GetEthBalances(addresses []common.Address) ([]*big.Int, error)
- func (_DevUtils *DevUtilsCallerSession) GetOrderRelevantState(order Struct0, signature []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) GetOrderRelevantStates(orders []Struct0, signatures [][]byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsCallerSession) GetTransferableAssetAmount(ownerAddress common.Address, assetData []byte) (*big.Int, error)
- type DevUtilsFilterer
- type DevUtilsRaw
- func (_DevUtils *DevUtilsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_DevUtils *DevUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_DevUtils *DevUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type DevUtilsSession
- func (_DevUtils *DevUtilsSession) DecodeAssetProxyDispatchError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeAssetProxyExistsError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeAssetProxyTransferError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeEIP1271SignatureError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeERC1155AssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeERC20AssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeERC721AssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeExchangeInvalidContextError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeFillError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeIncompleteFillError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeMultiAssetData(assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeNegativeSpreadError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeOrderEpochError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeOrderStatusError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeSignatureError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeSignatureValidatorNotApprovedError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeSignatureWalletError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeTransactionError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeTransactionExecutionError(encoded []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) DecodeZeroExTransactionData(transactionData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) EncodeERC1155AssetData(tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, ...) ([]byte, error)
- func (_DevUtils *DevUtilsSession) EncodeERC20AssetData(tokenAddress common.Address) ([]byte, error)
- func (_DevUtils *DevUtilsSession) EncodeERC721AssetData(tokenAddress common.Address, tokenId *big.Int) ([]byte, error)
- func (_DevUtils *DevUtilsSession) EncodeMultiAssetData(amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)
- func (_DevUtils *DevUtilsSession) GetAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
- func (_DevUtils *DevUtilsSession) GetBalance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
- func (_DevUtils *DevUtilsSession) GetBalanceAndAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) GetBatchAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
- func (_DevUtils *DevUtilsSession) GetBatchBalances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
- func (_DevUtils *DevUtilsSession) GetBatchBalancesAndAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) GetEthBalances(addresses []common.Address) ([]*big.Int, error)
- func (_DevUtils *DevUtilsSession) GetOrderRelevantState(order Struct0, signature []byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) GetOrderRelevantStates(orders []Struct0, signatures [][]byte) (struct{ ... }, error)
- func (_DevUtils *DevUtilsSession) GetSimulatedOrderTransferResults(order Struct0, takerAddress common.Address, takerAssetFillAmount *big.Int) (*types.Transaction, error)
- func (_DevUtils *DevUtilsSession) GetSimulatedOrdersTransferResults(orders []Struct0, takerAddresses []common.Address, ...) (*types.Transaction, error)
- func (_DevUtils *DevUtilsSession) GetTransferableAssetAmount(ownerAddress common.Address, assetData []byte) (*big.Int, error)
- type DevUtilsTransactor
- func (_DevUtils *DevUtilsTransactor) GetSimulatedOrderTransferResults(opts *bind.TransactOpts, order Struct0, takerAddress common.Address, ...) (*types.Transaction, error)
- func (_DevUtils *DevUtilsTransactor) GetSimulatedOrdersTransferResults(opts *bind.TransactOpts, orders []Struct0, takerAddresses []common.Address, ...) (*types.Transaction, error)
- type DevUtilsTransactorRaw
- type DevUtilsTransactorSession
- func (_DevUtils *DevUtilsTransactorSession) GetSimulatedOrderTransferResults(order Struct0, takerAddress common.Address, takerAssetFillAmount *big.Int) (*types.Transaction, error)
- func (_DevUtils *DevUtilsTransactorSession) GetSimulatedOrdersTransferResults(orders []Struct0, takerAddresses []common.Address, ...) (*types.Transaction, error)
- type Exchange
- type ExchangeAssetProxyRegistered
- type ExchangeAssetProxyRegisteredIterator
- type ExchangeCaller
- func (_Exchange *ExchangeCaller) AllowedValidators(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Exchange *ExchangeCaller) Cancelled(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeCaller) CurrentContextAddress(opts *bind.CallOpts) (common.Address, error)
- func (_Exchange *ExchangeCaller) EIP1271MAGICVALUE(opts *bind.CallOpts) ([4]byte, error)
- func (_Exchange *ExchangeCaller) EIP712EXCHANGEDOMAINHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Exchange *ExchangeCaller) Filled(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Exchange *ExchangeCaller) GetAssetProxy(opts *bind.CallOpts, assetProxyId [4]byte) (common.Address, error)
- func (_Exchange *ExchangeCaller) GetOrderInfo(opts *bind.CallOpts, order Struct0) (Struct5, error)
- func (_Exchange *ExchangeCaller) IsValidHashSignature(opts *bind.CallOpts, hash [32]byte, signerAddress common.Address, ...) (bool, error)
- func (_Exchange *ExchangeCaller) IsValidOrderSignature(opts *bind.CallOpts, order Struct0, signature []byte) (bool, error)
- func (_Exchange *ExchangeCaller) IsValidTransactionSignature(opts *bind.CallOpts, transaction Struct3, signature []byte) (bool, error)
- func (_Exchange *ExchangeCaller) OrderEpoch(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Exchange *ExchangeCaller) PreSigned(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (bool, error)
- func (_Exchange *ExchangeCaller) ProtocolFeeCollector(opts *bind.CallOpts) (common.Address, error)
- func (_Exchange *ExchangeCaller) ProtocolFeeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_Exchange *ExchangeCaller) TransactionsExecuted(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- type ExchangeCallerRaw
- type ExchangeCallerSession
- func (_Exchange *ExchangeCallerSession) AllowedValidators(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Exchange *ExchangeCallerSession) Cancelled(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) CurrentContextAddress() (common.Address, error)
- func (_Exchange *ExchangeCallerSession) EIP1271MAGICVALUE() ([4]byte, error)
- func (_Exchange *ExchangeCallerSession) EIP712EXCHANGEDOMAINHASH() ([32]byte, error)
- func (_Exchange *ExchangeCallerSession) Filled(arg0 [32]byte) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) GetAssetProxy(assetProxyId [4]byte) (common.Address, error)
- func (_Exchange *ExchangeCallerSession) GetOrderInfo(order Struct0) (Struct5, error)
- func (_Exchange *ExchangeCallerSession) IsValidHashSignature(hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) IsValidOrderSignature(order Struct0, signature []byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) IsValidTransactionSignature(transaction Struct3, signature []byte) (bool, error)
- func (_Exchange *ExchangeCallerSession) OrderEpoch(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) Owner() (common.Address, error)
- func (_Exchange *ExchangeCallerSession) PreSigned(arg0 [32]byte, arg1 common.Address) (bool, error)
- func (_Exchange *ExchangeCallerSession) ProtocolFeeCollector() (common.Address, error)
- func (_Exchange *ExchangeCallerSession) ProtocolFeeMultiplier() (*big.Int, error)
- func (_Exchange *ExchangeCallerSession) TransactionsExecuted(arg0 [32]byte) (bool, error)
- type ExchangeCancel
- type ExchangeCancelIterator
- type ExchangeCancelUpTo
- type ExchangeCancelUpToIterator
- type ExchangeFill
- type ExchangeFillIterator
- type ExchangeFilterer
- func (_Exchange *ExchangeFilterer) FilterAssetProxyRegistered(opts *bind.FilterOpts) (*ExchangeAssetProxyRegisteredIterator, error)
- func (_Exchange *ExchangeFilterer) FilterCancel(opts *bind.FilterOpts, makerAddress []common.Address, ...) (*ExchangeCancelIterator, error)
- func (_Exchange *ExchangeFilterer) FilterCancelUpTo(opts *bind.FilterOpts, makerAddress []common.Address, ...) (*ExchangeCancelUpToIterator, error)
- func (_Exchange *ExchangeFilterer) FilterFill(opts *bind.FilterOpts, makerAddress []common.Address, ...) (*ExchangeFillIterator, error)
- func (_Exchange *ExchangeFilterer) FilterProtocolFeeCollectorAddress(opts *bind.FilterOpts) (*ExchangeProtocolFeeCollectorAddressIterator, error)
- func (_Exchange *ExchangeFilterer) FilterProtocolFeeMultiplier(opts *bind.FilterOpts) (*ExchangeProtocolFeeMultiplierIterator, error)
- func (_Exchange *ExchangeFilterer) FilterSignatureValidatorApproval(opts *bind.FilterOpts, signerAddress []common.Address, ...) (*ExchangeSignatureValidatorApprovalIterator, error)
- func (_Exchange *ExchangeFilterer) FilterTransactionExecution(opts *bind.FilterOpts, transactionHash [][32]byte) (*ExchangeTransactionExecutionIterator, error)
- func (_Exchange *ExchangeFilterer) ParseAssetProxyRegistered(log types.Log) (*ExchangeAssetProxyRegistered, error)
- func (_Exchange *ExchangeFilterer) ParseCancel(log types.Log) (*ExchangeCancel, error)
- func (_Exchange *ExchangeFilterer) ParseCancelUpTo(log types.Log) (*ExchangeCancelUpTo, error)
- func (_Exchange *ExchangeFilterer) ParseFill(log types.Log) (*ExchangeFill, error)
- func (_Exchange *ExchangeFilterer) ParseProtocolFeeCollectorAddress(log types.Log) (*ExchangeProtocolFeeCollectorAddress, error)
- func (_Exchange *ExchangeFilterer) ParseProtocolFeeMultiplier(log types.Log) (*ExchangeProtocolFeeMultiplier, error)
- func (_Exchange *ExchangeFilterer) ParseSignatureValidatorApproval(log types.Log) (*ExchangeSignatureValidatorApproval, error)
- func (_Exchange *ExchangeFilterer) ParseTransactionExecution(log types.Log) (*ExchangeTransactionExecution, error)
- func (_Exchange *ExchangeFilterer) WatchAssetProxyRegistered(opts *bind.WatchOpts, sink chan<- *ExchangeAssetProxyRegistered) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchCancel(opts *bind.WatchOpts, sink chan<- *ExchangeCancel, ...) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchCancelUpTo(opts *bind.WatchOpts, sink chan<- *ExchangeCancelUpTo, ...) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchFill(opts *bind.WatchOpts, sink chan<- *ExchangeFill, makerAddress []common.Address, ...) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchProtocolFeeCollectorAddress(opts *bind.WatchOpts, sink chan<- *ExchangeProtocolFeeCollectorAddress) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchProtocolFeeMultiplier(opts *bind.WatchOpts, sink chan<- *ExchangeProtocolFeeMultiplier) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchSignatureValidatorApproval(opts *bind.WatchOpts, sink chan<- *ExchangeSignatureValidatorApproval, ...) (event.Subscription, error)
- func (_Exchange *ExchangeFilterer) WatchTransactionExecution(opts *bind.WatchOpts, sink chan<- *ExchangeTransactionExecution, ...) (event.Subscription, error)
- type ExchangeProtocolFeeCollectorAddress
- type ExchangeProtocolFeeCollectorAddressIterator
- type ExchangeProtocolFeeMultiplier
- type ExchangeProtocolFeeMultiplierIterator
- type ExchangeRaw
- func (_Exchange *ExchangeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Exchange *ExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Exchange *ExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ExchangeSession
- func (_Exchange *ExchangeSession) AllowedValidators(arg0 common.Address, arg1 common.Address) (bool, error)
- func (_Exchange *ExchangeSession) BatchCancelOrders(orders []Struct0) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) BatchExecuteTransactions(transactions []Struct3, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) BatchFillOrKillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) BatchFillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) BatchFillOrdersNoThrow(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) BatchMatchOrders(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) BatchMatchOrdersWithMaximalFill(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) CancelOrder(order Struct0) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) CancelOrdersUpTo(targetOrderEpoch *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) Cancelled(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeSession) CurrentContextAddress() (common.Address, error)
- func (_Exchange *ExchangeSession) EIP1271MAGICVALUE() ([4]byte, error)
- func (_Exchange *ExchangeSession) EIP712EXCHANGEDOMAINHASH() ([32]byte, error)
- func (_Exchange *ExchangeSession) ExecuteTransaction(transaction Struct3, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) FillOrKillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) FillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) Filled(arg0 [32]byte) (*big.Int, error)
- func (_Exchange *ExchangeSession) GetAssetProxy(assetProxyId [4]byte) (common.Address, error)
- func (_Exchange *ExchangeSession) GetOrderInfo(order Struct0) (Struct5, error)
- func (_Exchange *ExchangeSession) IsValidHashSignature(hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)
- func (_Exchange *ExchangeSession) IsValidOrderSignature(order Struct0, signature []byte) (bool, error)
- func (_Exchange *ExchangeSession) IsValidTransactionSignature(transaction Struct3, signature []byte) (bool, error)
- func (_Exchange *ExchangeSession) MarketBuyOrdersFillOrKill(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) MarketBuyOrdersNoThrow(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) MarketSellOrdersFillOrKill(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) MarketSellOrdersNoThrow(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) MatchOrders(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) MatchOrdersWithMaximalFill(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) OrderEpoch(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Exchange *ExchangeSession) Owner() (common.Address, error)
- func (_Exchange *ExchangeSession) PreSign(hash [32]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) PreSigned(arg0 [32]byte, arg1 common.Address) (bool, error)
- func (_Exchange *ExchangeSession) ProtocolFeeCollector() (common.Address, error)
- func (_Exchange *ExchangeSession) ProtocolFeeMultiplier() (*big.Int, error)
- func (_Exchange *ExchangeSession) RegisterAssetProxy(assetProxy common.Address) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) SetProtocolFeeCollectorAddress(updatedProtocolFeeCollector common.Address) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) SetProtocolFeeMultiplier(updatedProtocolFeeMultiplier *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) SetSignatureValidatorApproval(validatorAddress common.Address, approval bool) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) SimulateDispatchTransferFromCalls(assetData [][]byte, fromAddresses []common.Address, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeSession) TransactionsExecuted(arg0 [32]byte) (bool, error)
- func (_Exchange *ExchangeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ExchangeSignatureValidatorApproval
- type ExchangeSignatureValidatorApprovalIterator
- type ExchangeTransactionExecution
- type ExchangeTransactionExecutionIterator
- type ExchangeTransactor
- func (_Exchange *ExchangeTransactor) BatchCancelOrders(opts *bind.TransactOpts, orders []Struct0) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) BatchExecuteTransactions(opts *bind.TransactOpts, transactions []Struct3, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) BatchFillOrKillOrders(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) BatchFillOrders(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) BatchFillOrdersNoThrow(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmounts []*big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) BatchMatchOrders(opts *bind.TransactOpts, leftOrders []Struct0, rightOrders []Struct0, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) BatchMatchOrdersWithMaximalFill(opts *bind.TransactOpts, leftOrders []Struct0, rightOrders []Struct0, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) CancelOrder(opts *bind.TransactOpts, order Struct0) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) CancelOrdersUpTo(opts *bind.TransactOpts, targetOrderEpoch *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) ExecuteTransaction(opts *bind.TransactOpts, transaction Struct3, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) FillOrKillOrder(opts *bind.TransactOpts, order Struct0, takerAssetFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) FillOrder(opts *bind.TransactOpts, order Struct0, takerAssetFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) MarketBuyOrdersFillOrKill(opts *bind.TransactOpts, orders []Struct0, makerAssetFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) MarketBuyOrdersNoThrow(opts *bind.TransactOpts, orders []Struct0, makerAssetFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) MarketSellOrdersFillOrKill(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) MarketSellOrdersNoThrow(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmount *big.Int, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) MatchOrders(opts *bind.TransactOpts, leftOrder Struct0, rightOrder Struct0, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) MatchOrdersWithMaximalFill(opts *bind.TransactOpts, leftOrder Struct0, rightOrder Struct0, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) PreSign(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) RegisterAssetProxy(opts *bind.TransactOpts, assetProxy common.Address) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) SetProtocolFeeCollectorAddress(opts *bind.TransactOpts, updatedProtocolFeeCollector common.Address) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) SetProtocolFeeMultiplier(opts *bind.TransactOpts, updatedProtocolFeeMultiplier *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) SetSignatureValidatorApproval(opts *bind.TransactOpts, validatorAddress common.Address, approval bool) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) SimulateDispatchTransferFromCalls(opts *bind.TransactOpts, assetData [][]byte, fromAddresses []common.Address, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ExchangeTransactorRaw
- type ExchangeTransactorSession
- func (_Exchange *ExchangeTransactorSession) BatchCancelOrders(orders []Struct0) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) BatchExecuteTransactions(transactions []Struct3, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) BatchFillOrKillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) BatchFillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) BatchFillOrdersNoThrow(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) BatchMatchOrders(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) BatchMatchOrdersWithMaximalFill(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) CancelOrder(order Struct0) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) CancelOrdersUpTo(targetOrderEpoch *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) ExecuteTransaction(transaction Struct3, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) FillOrKillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) FillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) MarketBuyOrdersFillOrKill(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) MarketBuyOrdersNoThrow(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) MarketSellOrdersFillOrKill(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) MarketSellOrdersNoThrow(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) MatchOrders(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) MatchOrdersWithMaximalFill(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) PreSign(hash [32]byte) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) RegisterAssetProxy(assetProxy common.Address) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) SetProtocolFeeCollectorAddress(updatedProtocolFeeCollector common.Address) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) SetProtocolFeeMultiplier(updatedProtocolFeeMultiplier *big.Int) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) SetSignatureValidatorApproval(validatorAddress common.Address, approval bool) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) SimulateDispatchTransferFromCalls(assetData [][]byte, fromAddresses []common.Address, ...) (*types.Transaction, error)
- func (_Exchange *ExchangeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type OrderInfo
- type Struct0
- type Struct1
- type Struct2
- type Struct3
- type Struct4
- type Struct5
- type TrimmedOrder
- type WKLAY
- type WKLAYApproval
- type WKLAYApprovalIterator
- type WKLAYCaller
- func (_WKLAY *WKLAYCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WKLAY *WKLAYCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_WKLAY *WKLAYCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WKLAY *WKLAYCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WKLAY *WKLAYCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WKLAY *WKLAYCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WKLAYCallerRaw
- type WKLAYCallerSession
- func (_WKLAY *WKLAYCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WKLAY *WKLAYCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_WKLAY *WKLAYCallerSession) Decimals() (uint8, error)
- func (_WKLAY *WKLAYCallerSession) Name() (string, error)
- func (_WKLAY *WKLAYCallerSession) Symbol() (string, error)
- func (_WKLAY *WKLAYCallerSession) TotalSupply() (*big.Int, error)
- type WKLAYDeposit
- type WKLAYDepositIterator
- type WKLAYFilterer
- func (_WKLAY *WKLAYFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*WKLAYApprovalIterator, error)
- func (_WKLAY *WKLAYFilterer) FilterDeposit(opts *bind.FilterOpts, _owner []common.Address) (*WKLAYDepositIterator, error)
- func (_WKLAY *WKLAYFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*WKLAYTransferIterator, error)
- func (_WKLAY *WKLAYFilterer) FilterWithdrawal(opts *bind.FilterOpts, _owner []common.Address) (*WKLAYWithdrawalIterator, error)
- func (_WKLAY *WKLAYFilterer) ParseApproval(log types.Log) (*WKLAYApproval, error)
- func (_WKLAY *WKLAYFilterer) ParseDeposit(log types.Log) (*WKLAYDeposit, error)
- func (_WKLAY *WKLAYFilterer) ParseTransfer(log types.Log) (*WKLAYTransfer, error)
- func (_WKLAY *WKLAYFilterer) ParseWithdrawal(log types.Log) (*WKLAYWithdrawal, error)
- func (_WKLAY *WKLAYFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WKLAYApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_WKLAY *WKLAYFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WKLAYDeposit, _owner []common.Address) (event.Subscription, error)
- func (_WKLAY *WKLAYFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WKLAYTransfer, _from []common.Address, ...) (event.Subscription, error)
- func (_WKLAY *WKLAYFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WKLAYWithdrawal, _owner []common.Address) (event.Subscription, error)
- type WKLAYRaw
- func (_WKLAY *WKLAYRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_WKLAY *WKLAYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WKLAY *WKLAYRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WKLAYSession
- func (_WKLAY *WKLAYSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WKLAY *WKLAYSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_WKLAY *WKLAYSession) Decimals() (uint8, error)
- func (_WKLAY *WKLAYSession) Deposit() (*types.Transaction, error)
- func (_WKLAY *WKLAYSession) Name() (string, error)
- func (_WKLAY *WKLAYSession) Symbol() (string, error)
- func (_WKLAY *WKLAYSession) TotalSupply() (*big.Int, error)
- func (_WKLAY *WKLAYSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYSession) Withdraw(wad *big.Int) (*types.Transaction, error)
- type WKLAYTransactor
- func (_WKLAY *WKLAYTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
- type WKLAYTransactorRaw
- type WKLAYTransactorSession
- func (_WKLAY *WKLAYTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactorSession) Deposit() (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WKLAY *WKLAYTransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)
- type WKLAYTransfer
- type WKLAYTransferIterator
- type WKLAYWithdrawal
- type WKLAYWithdrawalIterator
Constants ¶
const CoordinatorRegistryABI = "" /* 810-byte string literal not displayed */
CoordinatorRegistryABI is the input ABI used to generate the binding from.
const DevUtilsABI = "" /* 22447-byte string literal not displayed */
DevUtilsABI is the input ABI used to generate the binding from.
const ExchangeABI = "" /* 53169-byte string literal not displayed */
ExchangeABI is the input ABI used to generate the binding from.
const WKLAYABI = "" /* 3289-byte string literal not displayed */
WKLAYABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoordinatorRegistry ¶
type CoordinatorRegistry struct { CoordinatorRegistryCaller // Read-only binding to the contract CoordinatorRegistryTransactor // Write-only binding to the contract CoordinatorRegistryFilterer // Log filterer for contract events }
CoordinatorRegistry is an auto generated Go binding around an Klaytn contract.
func NewCoordinatorRegistry ¶
func NewCoordinatorRegistry(address common.Address, backend bind.ContractBackend) (*CoordinatorRegistry, error)
NewCoordinatorRegistry creates a new instance of CoordinatorRegistry, bound to a specific deployed contract.
type CoordinatorRegistryCaller ¶
type CoordinatorRegistryCaller struct {
// contains filtered or unexported fields
}
CoordinatorRegistryCaller is an auto generated read-only Go binding around an Klaytn contract.
func NewCoordinatorRegistryCaller ¶
func NewCoordinatorRegistryCaller(address common.Address, caller bind.ContractCaller) (*CoordinatorRegistryCaller, error)
NewCoordinatorRegistryCaller creates a new read-only instance of CoordinatorRegistry, bound to a specific deployed contract.
func (*CoordinatorRegistryCaller) GetCoordinatorEndpoint ¶
func (_CoordinatorRegistry *CoordinatorRegistryCaller) GetCoordinatorEndpoint(opts *bind.CallOpts, coordinatorOperator common.Address) (string, error)
GetCoordinatorEndpoint is a free data retrieval call binding the contract method 0x6c90fedb.
Solidity: function getCoordinatorEndpoint(address coordinatorOperator) constant returns(string coordinatorEndpoint)
type CoordinatorRegistryCallerRaw ¶
type CoordinatorRegistryCallerRaw struct {
Contract *CoordinatorRegistryCaller // Generic read-only contract binding to access the raw methods on
}
CoordinatorRegistryCallerRaw is an auto generated low-level read-only Go binding around an Klaytn contract.
func (*CoordinatorRegistryCallerRaw) Call ¶
func (_CoordinatorRegistry *CoordinatorRegistryCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type CoordinatorRegistryCallerSession ¶
type CoordinatorRegistryCallerSession struct { Contract *CoordinatorRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CoordinatorRegistryCallerSession is an auto generated read-only Go binding around an Klaytn contract, with pre-set call options.
func (*CoordinatorRegistryCallerSession) GetCoordinatorEndpoint ¶
func (_CoordinatorRegistry *CoordinatorRegistryCallerSession) GetCoordinatorEndpoint(coordinatorOperator common.Address) (string, error)
GetCoordinatorEndpoint is a free data retrieval call binding the contract method 0x6c90fedb.
Solidity: function getCoordinatorEndpoint(address coordinatorOperator) constant returns(string coordinatorEndpoint)
type CoordinatorRegistryCoordinatorEndpointSet ¶
type CoordinatorRegistryCoordinatorEndpointSet struct { CoordinatorOperator common.Address CoordinatorEndpoint string Raw types.Log // Blockchain specific contextual infos }
CoordinatorRegistryCoordinatorEndpointSet represents a CoordinatorEndpointSet event raised by the CoordinatorRegistry contract.
type CoordinatorRegistryCoordinatorEndpointSetIterator ¶
type CoordinatorRegistryCoordinatorEndpointSetIterator struct { Event *CoordinatorRegistryCoordinatorEndpointSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CoordinatorRegistryCoordinatorEndpointSetIterator is returned from FilterCoordinatorEndpointSet and is used to iterate over the raw logs and unpacked data for CoordinatorEndpointSet events raised by the CoordinatorRegistry contract.
func (*CoordinatorRegistryCoordinatorEndpointSetIterator) Close ¶
func (it *CoordinatorRegistryCoordinatorEndpointSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CoordinatorRegistryCoordinatorEndpointSetIterator) Error ¶
func (it *CoordinatorRegistryCoordinatorEndpointSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CoordinatorRegistryCoordinatorEndpointSetIterator) Next ¶
func (it *CoordinatorRegistryCoordinatorEndpointSetIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type CoordinatorRegistryFilterer ¶
type CoordinatorRegistryFilterer struct {
// contains filtered or unexported fields
}
CoordinatorRegistryFilterer is an auto generated log filtering Go binding around an Klaytn contract events.
func NewCoordinatorRegistryFilterer ¶
func NewCoordinatorRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*CoordinatorRegistryFilterer, error)
NewCoordinatorRegistryFilterer creates a new log filterer instance of CoordinatorRegistry, bound to a specific deployed contract.
func (*CoordinatorRegistryFilterer) FilterCoordinatorEndpointSet ¶
func (_CoordinatorRegistry *CoordinatorRegistryFilterer) FilterCoordinatorEndpointSet(opts *bind.FilterOpts) (*CoordinatorRegistryCoordinatorEndpointSetIterator, error)
FilterCoordinatorEndpointSet is a free log retrieval operation binding the contract event 0xd060052768902f3eecb84b8eae9d3a2608a1a9e60811a33968b46b8d552f266e.
Solidity: event CoordinatorEndpointSet(address coordinatorOperator, string coordinatorEndpoint)
func (*CoordinatorRegistryFilterer) WatchCoordinatorEndpointSet ¶
func (_CoordinatorRegistry *CoordinatorRegistryFilterer) WatchCoordinatorEndpointSet(opts *bind.WatchOpts, sink chan<- *CoordinatorRegistryCoordinatorEndpointSet) (event.Subscription, error)
WatchCoordinatorEndpointSet is a free log subscription operation binding the contract event 0xd060052768902f3eecb84b8eae9d3a2608a1a9e60811a33968b46b8d552f266e.
Solidity: event CoordinatorEndpointSet(address coordinatorOperator, string coordinatorEndpoint)
type CoordinatorRegistryRaw ¶
type CoordinatorRegistryRaw struct {
Contract *CoordinatorRegistry // Generic contract binding to access the raw methods on
}
CoordinatorRegistryRaw is an auto generated low-level Go binding around an Klaytn contract.
func (*CoordinatorRegistryRaw) Call ¶
func (_CoordinatorRegistry *CoordinatorRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*CoordinatorRegistryRaw) Transact ¶
func (_CoordinatorRegistry *CoordinatorRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CoordinatorRegistryRaw) Transfer ¶
func (_CoordinatorRegistry *CoordinatorRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CoordinatorRegistrySession ¶
type CoordinatorRegistrySession struct { Contract *CoordinatorRegistry // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CoordinatorRegistrySession is an auto generated Go binding around an Klaytn contract, with pre-set call and transact options.
func (*CoordinatorRegistrySession) GetCoordinatorEndpoint ¶
func (_CoordinatorRegistry *CoordinatorRegistrySession) GetCoordinatorEndpoint(coordinatorOperator common.Address) (string, error)
GetCoordinatorEndpoint is a free data retrieval call binding the contract method 0x6c90fedb.
Solidity: function getCoordinatorEndpoint(address coordinatorOperator) constant returns(string coordinatorEndpoint)
func (*CoordinatorRegistrySession) SetCoordinatorEndpoint ¶
func (_CoordinatorRegistry *CoordinatorRegistrySession) SetCoordinatorEndpoint(coordinatorEndpoint string) (*types.Transaction, error)
SetCoordinatorEndpoint is a paid mutator transaction binding the contract method 0x5b2388be.
Solidity: function setCoordinatorEndpoint(string coordinatorEndpoint) returns()
type CoordinatorRegistryTransactor ¶
type CoordinatorRegistryTransactor struct {
// contains filtered or unexported fields
}
CoordinatorRegistryTransactor is an auto generated write-only Go binding around an Klaytn contract.
func NewCoordinatorRegistryTransactor ¶
func NewCoordinatorRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*CoordinatorRegistryTransactor, error)
NewCoordinatorRegistryTransactor creates a new write-only instance of CoordinatorRegistry, bound to a specific deployed contract.
func (*CoordinatorRegistryTransactor) SetCoordinatorEndpoint ¶
func (_CoordinatorRegistry *CoordinatorRegistryTransactor) SetCoordinatorEndpoint(opts *bind.TransactOpts, coordinatorEndpoint string) (*types.Transaction, error)
SetCoordinatorEndpoint is a paid mutator transaction binding the contract method 0x5b2388be.
Solidity: function setCoordinatorEndpoint(string coordinatorEndpoint) returns()
type CoordinatorRegistryTransactorRaw ¶
type CoordinatorRegistryTransactorRaw struct {
Contract *CoordinatorRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
CoordinatorRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Klaytn contract.
func (*CoordinatorRegistryTransactorRaw) Transact ¶
func (_CoordinatorRegistry *CoordinatorRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CoordinatorRegistryTransactorRaw) Transfer ¶
func (_CoordinatorRegistry *CoordinatorRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CoordinatorRegistryTransactorSession ¶
type CoordinatorRegistryTransactorSession struct { Contract *CoordinatorRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CoordinatorRegistryTransactorSession is an auto generated write-only Go binding around an Klaytn contract, with pre-set transact options.
func (*CoordinatorRegistryTransactorSession) SetCoordinatorEndpoint ¶
func (_CoordinatorRegistry *CoordinatorRegistryTransactorSession) SetCoordinatorEndpoint(coordinatorEndpoint string) (*types.Transaction, error)
SetCoordinatorEndpoint is a paid mutator transaction binding the contract method 0x5b2388be.
Solidity: function setCoordinatorEndpoint(string coordinatorEndpoint) returns()
type DevUtils ¶
type DevUtils struct { DevUtilsCaller // Read-only binding to the contract DevUtilsTransactor // Write-only binding to the contract DevUtilsFilterer // Log filterer for contract events }
DevUtils is an auto generated Go binding around an Klaytn contract.
func NewDevUtils ¶
NewDevUtils creates a new instance of DevUtils, bound to a specific deployed contract.
type DevUtilsCaller ¶
type DevUtilsCaller struct {
// contains filtered or unexported fields
}
DevUtilsCaller is an auto generated read-only Go binding around an Klaytn contract.
func NewDevUtilsCaller ¶
func NewDevUtilsCaller(address common.Address, caller bind.ContractCaller) (*DevUtilsCaller, error)
NewDevUtilsCaller creates a new read-only instance of DevUtils, bound to a specific deployed contract.
func (*DevUtilsCaller) DecodeAssetProxyDispatchError ¶
func (_DevUtils *DevUtilsCaller) DecodeAssetProxyDispatchError(opts *bind.CallOpts, encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte AssetData []byte }, error)
DecodeAssetProxyDispatchError is a free data retrieval call binding the contract method 0x32aae3ad.
Solidity: function decodeAssetProxyDispatchError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash, bytes assetData)
func (*DevUtilsCaller) DecodeAssetProxyExistsError ¶
func (_DevUtils *DevUtilsCaller) DecodeAssetProxyExistsError(opts *bind.CallOpts, encoded []byte) (struct { AssetProxyId [4]byte AssetProxyAddress common.Address }, error)
DecodeAssetProxyExistsError is a free data retrieval call binding the contract method 0x7914b2ec.
Solidity: function decodeAssetProxyExistsError(bytes encoded) constant returns(bytes4 assetProxyId, address assetProxyAddress)
func (*DevUtilsCaller) DecodeAssetProxyTransferError ¶
func (_DevUtils *DevUtilsCaller) DecodeAssetProxyTransferError(opts *bind.CallOpts, encoded []byte) (struct { OrderHash [32]byte AssetData []byte ErrorData []byte }, error)
DecodeAssetProxyTransferError is a free data retrieval call binding the contract method 0x314853ff.
Solidity: function decodeAssetProxyTransferError(bytes encoded) constant returns(bytes32 orderHash, bytes assetData, bytes errorData)
func (*DevUtilsCaller) DecodeEIP1271SignatureError ¶
func (_DevUtils *DevUtilsCaller) DecodeEIP1271SignatureError(opts *bind.CallOpts, encoded []byte) (struct { VerifyingContractAddress common.Address Data []byte Signature []byte ErrorData []byte }, error)
DecodeEIP1271SignatureError is a free data retrieval call binding the contract method 0xacaedc74.
Solidity: function decodeEIP1271SignatureError(bytes encoded) constant returns(address verifyingContractAddress, bytes data, bytes signature, bytes errorData)
func (*DevUtilsCaller) DecodeERC1155AssetData ¶
func (_DevUtils *DevUtilsCaller) DecodeERC1155AssetData(opts *bind.CallOpts, assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address TokenIds []*big.Int TokenValues []*big.Int CallbackData []byte }, error)
DecodeERC1155AssetData is a free data retrieval call binding the contract method 0x9eadc835.
Solidity: function decodeERC1155AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData)
func (*DevUtilsCaller) DecodeERC20AssetData ¶
func (_DevUtils *DevUtilsCaller) DecodeERC20AssetData(opts *bind.CallOpts, assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address }, error)
DecodeERC20AssetData is a free data retrieval call binding the contract method 0x8f4ce479.
Solidity: function decodeERC20AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress)
func (*DevUtilsCaller) DecodeERC721AssetData ¶
func (_DevUtils *DevUtilsCaller) DecodeERC721AssetData(opts *bind.CallOpts, assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address TokenId *big.Int }, error)
DecodeERC721AssetData is a free data retrieval call binding the contract method 0x04a5618a.
Solidity: function decodeERC721AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256 tokenId)
func (*DevUtilsCaller) DecodeExchangeInvalidContextError ¶
func (_DevUtils *DevUtilsCaller) DecodeExchangeInvalidContextError(opts *bind.CallOpts, encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte ContextAddress common.Address }, error)
DecodeExchangeInvalidContextError is a free data retrieval call binding the contract method 0xee4f5a94.
Solidity: function decodeExchangeInvalidContextError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash, address contextAddress)
func (*DevUtilsCaller) DecodeFillError ¶
func (_DevUtils *DevUtilsCaller) DecodeFillError(opts *bind.CallOpts, encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte }, error)
DecodeFillError is a free data retrieval call binding the contract method 0x459be5e2.
Solidity: function decodeFillError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash)
func (*DevUtilsCaller) DecodeIncompleteFillError ¶
func (_DevUtils *DevUtilsCaller) DecodeIncompleteFillError(opts *bind.CallOpts, encoded []byte) (struct { ErrorCode uint8 ExpectedAssetFillAmount *big.Int ActualAssetFillAmount *big.Int }, error)
DecodeIncompleteFillError is a free data retrieval call binding the contract method 0x165979e1.
Solidity: function decodeIncompleteFillError(bytes encoded) constant returns(uint8 errorCode, uint256 expectedAssetFillAmount, uint256 actualAssetFillAmount)
func (*DevUtilsCaller) DecodeMultiAssetData ¶
func (_DevUtils *DevUtilsCaller) DecodeMultiAssetData(opts *bind.CallOpts, assetData []byte) (struct { AssetProxyId [4]byte Amounts []*big.Int NestedAssetData [][]byte }, error)
DecodeMultiAssetData is a free data retrieval call binding the contract method 0xbbb2dcf6.
Solidity: function decodeMultiAssetData(bytes assetData) constant returns(bytes4 assetProxyId, uint256[] amounts, bytes[] nestedAssetData)
func (*DevUtilsCaller) DecodeNegativeSpreadError ¶
func (_DevUtils *DevUtilsCaller) DecodeNegativeSpreadError(opts *bind.CallOpts, encoded []byte) (struct { LeftOrderHash [32]byte RightOrderHash [32]byte }, error)
DecodeNegativeSpreadError is a free data retrieval call binding the contract method 0x327d3054.
Solidity: function decodeNegativeSpreadError(bytes encoded) constant returns(bytes32 leftOrderHash, bytes32 rightOrderHash)
func (*DevUtilsCaller) DecodeOrderEpochError ¶
func (_DevUtils *DevUtilsCaller) DecodeOrderEpochError(opts *bind.CallOpts, encoded []byte) (struct { MakerAddress common.Address OrderSenderAddress common.Address CurrentEpoch *big.Int }, error)
DecodeOrderEpochError is a free data retrieval call binding the contract method 0x65129042.
Solidity: function decodeOrderEpochError(bytes encoded) constant returns(address makerAddress, address orderSenderAddress, uint256 currentEpoch)
func (*DevUtilsCaller) DecodeOrderStatusError ¶
func (_DevUtils *DevUtilsCaller) DecodeOrderStatusError(opts *bind.CallOpts, encoded []byte) (struct { OrderHash [32]byte OrderStatus uint8 }, error)
DecodeOrderStatusError is a free data retrieval call binding the contract method 0x02d0aec3.
Solidity: function decodeOrderStatusError(bytes encoded) constant returns(bytes32 orderHash, uint8 orderStatus)
func (*DevUtilsCaller) DecodeSignatureError ¶
func (_DevUtils *DevUtilsCaller) DecodeSignatureError(opts *bind.CallOpts, encoded []byte) (struct { ErrorCode uint8 Hash [32]byte SignerAddress common.Address Signature []byte }, error)
DecodeSignatureError is a free data retrieval call binding the contract method 0x9a7e7526.
Solidity: function decodeSignatureError(bytes encoded) constant returns(uint8 errorCode, bytes32 hash, address signerAddress, bytes signature)
func (*DevUtilsCaller) DecodeSignatureValidatorNotApprovedError ¶
func (_DevUtils *DevUtilsCaller) DecodeSignatureValidatorNotApprovedError(opts *bind.CallOpts, encoded []byte) (struct { SignerAddress common.Address ValidatorAddress common.Address }, error)
DecodeSignatureValidatorNotApprovedError is a free data retrieval call binding the contract method 0x7b66ad34.
Solidity: function decodeSignatureValidatorNotApprovedError(bytes encoded) constant returns(address signerAddress, address validatorAddress)
func (*DevUtilsCaller) DecodeSignatureWalletError ¶
func (_DevUtils *DevUtilsCaller) DecodeSignatureWalletError(opts *bind.CallOpts, encoded []byte) (struct { Hash [32]byte SignerAddress common.Address Signature []byte ErrorData []byte }, error)
DecodeSignatureWalletError is a free data retrieval call binding the contract method 0x3db6dc61.
Solidity: function decodeSignatureWalletError(bytes encoded) constant returns(bytes32 hash, address signerAddress, bytes signature, bytes errorData)
func (*DevUtilsCaller) DecodeTransactionError ¶
func (_DevUtils *DevUtilsCaller) DecodeTransactionError(opts *bind.CallOpts, encoded []byte) (struct { ErrorCode uint8 TransactionHash [32]byte }, error)
DecodeTransactionError is a free data retrieval call binding the contract method 0xcafd3a07.
Solidity: function decodeTransactionError(bytes encoded) constant returns(uint8 errorCode, bytes32 transactionHash)
func (*DevUtilsCaller) DecodeTransactionExecutionError ¶
func (_DevUtils *DevUtilsCaller) DecodeTransactionExecutionError(opts *bind.CallOpts, encoded []byte) (struct { TransactionHash [32]byte ErrorData []byte }, error)
DecodeTransactionExecutionError is a free data retrieval call binding the contract method 0xbc03f964.
Solidity: function decodeTransactionExecutionError(bytes encoded) constant returns(bytes32 transactionHash, bytes errorData)
func (*DevUtilsCaller) DecodeZeroExTransactionData ¶
func (_DevUtils *DevUtilsCaller) DecodeZeroExTransactionData(opts *bind.CallOpts, transactionData []byte) (struct { FunctionName string Orders []Struct0 TakerAssetFillAmounts []*big.Int Signatures [][]byte }, error)
DecodeZeroExTransactionData is a free data retrieval call binding the contract method 0x6f83188e.
Solidity: function decodeZeroExTransactionData(bytes transactionData) constant returns(string functionName, []Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures)
func (*DevUtilsCaller) EncodeERC1155AssetData ¶
func (_DevUtils *DevUtilsCaller) EncodeERC1155AssetData(opts *bind.CallOpts, tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, callbackData []byte) ([]byte, error)
EncodeERC1155AssetData is a free data retrieval call binding the contract method 0xb43cffe1.
Solidity: function encodeERC1155AssetData(address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData) constant returns(bytes assetData)
func (*DevUtilsCaller) EncodeERC20AssetData ¶
func (_DevUtils *DevUtilsCaller) EncodeERC20AssetData(opts *bind.CallOpts, tokenAddress common.Address) ([]byte, error)
EncodeERC20AssetData is a free data retrieval call binding the contract method 0x590aa875.
Solidity: function encodeERC20AssetData(address tokenAddress) constant returns(bytes assetData)
func (*DevUtilsCaller) EncodeERC721AssetData ¶
func (_DevUtils *DevUtilsCaller) EncodeERC721AssetData(opts *bind.CallOpts, tokenAddress common.Address, tokenId *big.Int) ([]byte, error)
EncodeERC721AssetData is a free data retrieval call binding the contract method 0xa6627e9f.
Solidity: function encodeERC721AssetData(address tokenAddress, uint256 tokenId) constant returns(bytes assetData)
func (*DevUtilsCaller) EncodeMultiAssetData ¶
func (_DevUtils *DevUtilsCaller) EncodeMultiAssetData(opts *bind.CallOpts, amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)
EncodeMultiAssetData is a free data retrieval call binding the contract method 0xd3d862d1.
Solidity: function encodeMultiAssetData(uint256[] amounts, bytes[] nestedAssetData) constant returns(bytes assetData)
func (*DevUtilsCaller) GetAssetProxyAllowance ¶
func (_DevUtils *DevUtilsCaller) GetAssetProxyAllowance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetAssetProxyAllowance is a free data retrieval call binding the contract method 0xd186037f.
Solidity: function getAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 allowance)
func (*DevUtilsCaller) GetBalance ¶
func (_DevUtils *DevUtilsCaller) GetBalance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x7d727512.
Solidity: function getBalance(address ownerAddress, bytes assetData) constant returns(uint256 balance)
func (*DevUtilsCaller) GetBalanceAndAssetProxyAllowance ¶
func (_DevUtils *DevUtilsCaller) GetBalanceAndAssetProxyAllowance(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (struct { Balance *big.Int Allowance *big.Int }, error)
GetBalanceAndAssetProxyAllowance is a free data retrieval call binding the contract method 0x0d7b7d76.
Solidity: function getBalanceAndAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 balance, uint256 allowance)
func (*DevUtilsCaller) GetBatchAssetProxyAllowances ¶
func (_DevUtils *DevUtilsCaller) GetBatchAssetProxyAllowances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
GetBatchAssetProxyAllowances is a free data retrieval call binding the contract method 0x4dfdac20.
Solidity: function getBatchAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] allowances)
func (*DevUtilsCaller) GetBatchBalances ¶
func (_DevUtils *DevUtilsCaller) GetBatchBalances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
GetBatchBalances is a free data retrieval call binding the contract method 0xd001c5dc.
Solidity: function getBatchBalances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances)
func (*DevUtilsCaller) GetBatchBalancesAndAssetProxyAllowances ¶
func (_DevUtils *DevUtilsCaller) GetBatchBalancesAndAssetProxyAllowances(opts *bind.CallOpts, ownerAddress common.Address, assetData [][]byte) (struct { Balances []*big.Int Allowances []*big.Int }, error)
GetBatchBalancesAndAssetProxyAllowances is a free data retrieval call binding the contract method 0xe4e6e7da.
Solidity: function getBatchBalancesAndAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances, uint256[] allowances)
func (*DevUtilsCaller) GetEthBalances ¶
func (_DevUtils *DevUtilsCaller) GetEthBalances(opts *bind.CallOpts, addresses []common.Address) ([]*big.Int, error)
GetEthBalances is a free data retrieval call binding the contract method 0xa0901e51.
Solidity: function getEthBalances(address[] addresses) constant returns(uint256[])
func (*DevUtilsCaller) GetOrderRelevantState ¶
func (_DevUtils *DevUtilsCaller) GetOrderRelevantState(opts *bind.CallOpts, order Struct0, signature []byte) (struct { OrderInfo Struct1 FillableTakerAssetAmount *big.Int IsValidSignature bool }, error)
GetOrderRelevantState is a free data retrieval call binding the contract method 0xe77286eb.
Solidity: function getOrderRelevantState(Struct0 order, bytes signature) constant returns(Struct1 orderInfo, uint256 fillableTakerAssetAmount, bool isValidSignature)
func (*DevUtilsCaller) GetOrderRelevantStates ¶
func (_DevUtils *DevUtilsCaller) GetOrderRelevantStates(opts *bind.CallOpts, orders []Struct0, signatures [][]byte) (struct { OrdersInfo []Struct1 FillableTakerAssetAmounts []*big.Int IsValidSignature []bool }, error)
GetOrderRelevantStates is a free data retrieval call binding the contract method 0xe25cabf7.
Solidity: function getOrderRelevantStates([]Struct0 orders, bytes[] signatures) constant returns([]Struct1 ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)
func (*DevUtilsCaller) GetTransferableAssetAmount ¶
func (_DevUtils *DevUtilsCaller) GetTransferableAssetAmount(opts *bind.CallOpts, ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetTransferableAssetAmount is a free data retrieval call binding the contract method 0x2322cf76.
Solidity: function getTransferableAssetAmount(address ownerAddress, bytes assetData) constant returns(uint256 transferableAssetAmount)
type DevUtilsCallerRaw ¶
type DevUtilsCallerRaw struct {
Contract *DevUtilsCaller // Generic read-only contract binding to access the raw methods on
}
DevUtilsCallerRaw is an auto generated low-level read-only Go binding around an Klaytn contract.
func (*DevUtilsCallerRaw) Call ¶
func (_DevUtils *DevUtilsCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type DevUtilsCallerSession ¶
type DevUtilsCallerSession struct { Contract *DevUtilsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
DevUtilsCallerSession is an auto generated read-only Go binding around an Klaytn contract, with pre-set call options.
func (*DevUtilsCallerSession) DecodeAssetProxyDispatchError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeAssetProxyDispatchError(encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte AssetData []byte }, error)
DecodeAssetProxyDispatchError is a free data retrieval call binding the contract method 0x32aae3ad.
Solidity: function decodeAssetProxyDispatchError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash, bytes assetData)
func (*DevUtilsCallerSession) DecodeAssetProxyExistsError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeAssetProxyExistsError(encoded []byte) (struct { AssetProxyId [4]byte AssetProxyAddress common.Address }, error)
DecodeAssetProxyExistsError is a free data retrieval call binding the contract method 0x7914b2ec.
Solidity: function decodeAssetProxyExistsError(bytes encoded) constant returns(bytes4 assetProxyId, address assetProxyAddress)
func (*DevUtilsCallerSession) DecodeAssetProxyTransferError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeAssetProxyTransferError(encoded []byte) (struct { OrderHash [32]byte AssetData []byte ErrorData []byte }, error)
DecodeAssetProxyTransferError is a free data retrieval call binding the contract method 0x314853ff.
Solidity: function decodeAssetProxyTransferError(bytes encoded) constant returns(bytes32 orderHash, bytes assetData, bytes errorData)
func (*DevUtilsCallerSession) DecodeEIP1271SignatureError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeEIP1271SignatureError(encoded []byte) (struct { VerifyingContractAddress common.Address Data []byte Signature []byte ErrorData []byte }, error)
DecodeEIP1271SignatureError is a free data retrieval call binding the contract method 0xacaedc74.
Solidity: function decodeEIP1271SignatureError(bytes encoded) constant returns(address verifyingContractAddress, bytes data, bytes signature, bytes errorData)
func (*DevUtilsCallerSession) DecodeERC1155AssetData ¶
func (_DevUtils *DevUtilsCallerSession) DecodeERC1155AssetData(assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address TokenIds []*big.Int TokenValues []*big.Int CallbackData []byte }, error)
DecodeERC1155AssetData is a free data retrieval call binding the contract method 0x9eadc835.
Solidity: function decodeERC1155AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData)
func (*DevUtilsCallerSession) DecodeERC20AssetData ¶
func (_DevUtils *DevUtilsCallerSession) DecodeERC20AssetData(assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address }, error)
DecodeERC20AssetData is a free data retrieval call binding the contract method 0x8f4ce479.
Solidity: function decodeERC20AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress)
func (*DevUtilsCallerSession) DecodeERC721AssetData ¶
func (_DevUtils *DevUtilsCallerSession) DecodeERC721AssetData(assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address TokenId *big.Int }, error)
DecodeERC721AssetData is a free data retrieval call binding the contract method 0x04a5618a.
Solidity: function decodeERC721AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256 tokenId)
func (*DevUtilsCallerSession) DecodeExchangeInvalidContextError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeExchangeInvalidContextError(encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte ContextAddress common.Address }, error)
DecodeExchangeInvalidContextError is a free data retrieval call binding the contract method 0xee4f5a94.
Solidity: function decodeExchangeInvalidContextError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash, address contextAddress)
func (*DevUtilsCallerSession) DecodeFillError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeFillError(encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte }, error)
DecodeFillError is a free data retrieval call binding the contract method 0x459be5e2.
Solidity: function decodeFillError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash)
func (*DevUtilsCallerSession) DecodeIncompleteFillError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeIncompleteFillError(encoded []byte) (struct { ErrorCode uint8 ExpectedAssetFillAmount *big.Int ActualAssetFillAmount *big.Int }, error)
DecodeIncompleteFillError is a free data retrieval call binding the contract method 0x165979e1.
Solidity: function decodeIncompleteFillError(bytes encoded) constant returns(uint8 errorCode, uint256 expectedAssetFillAmount, uint256 actualAssetFillAmount)
func (*DevUtilsCallerSession) DecodeMultiAssetData ¶
func (_DevUtils *DevUtilsCallerSession) DecodeMultiAssetData(assetData []byte) (struct { AssetProxyId [4]byte Amounts []*big.Int NestedAssetData [][]byte }, error)
DecodeMultiAssetData is a free data retrieval call binding the contract method 0xbbb2dcf6.
Solidity: function decodeMultiAssetData(bytes assetData) constant returns(bytes4 assetProxyId, uint256[] amounts, bytes[] nestedAssetData)
func (*DevUtilsCallerSession) DecodeNegativeSpreadError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeNegativeSpreadError(encoded []byte) (struct { LeftOrderHash [32]byte RightOrderHash [32]byte }, error)
DecodeNegativeSpreadError is a free data retrieval call binding the contract method 0x327d3054.
Solidity: function decodeNegativeSpreadError(bytes encoded) constant returns(bytes32 leftOrderHash, bytes32 rightOrderHash)
func (*DevUtilsCallerSession) DecodeOrderEpochError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeOrderEpochError(encoded []byte) (struct { MakerAddress common.Address OrderSenderAddress common.Address CurrentEpoch *big.Int }, error)
DecodeOrderEpochError is a free data retrieval call binding the contract method 0x65129042.
Solidity: function decodeOrderEpochError(bytes encoded) constant returns(address makerAddress, address orderSenderAddress, uint256 currentEpoch)
func (*DevUtilsCallerSession) DecodeOrderStatusError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeOrderStatusError(encoded []byte) (struct { OrderHash [32]byte OrderStatus uint8 }, error)
DecodeOrderStatusError is a free data retrieval call binding the contract method 0x02d0aec3.
Solidity: function decodeOrderStatusError(bytes encoded) constant returns(bytes32 orderHash, uint8 orderStatus)
func (*DevUtilsCallerSession) DecodeSignatureError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeSignatureError(encoded []byte) (struct { ErrorCode uint8 Hash [32]byte SignerAddress common.Address Signature []byte }, error)
DecodeSignatureError is a free data retrieval call binding the contract method 0x9a7e7526.
Solidity: function decodeSignatureError(bytes encoded) constant returns(uint8 errorCode, bytes32 hash, address signerAddress, bytes signature)
func (*DevUtilsCallerSession) DecodeSignatureValidatorNotApprovedError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeSignatureValidatorNotApprovedError(encoded []byte) (struct { SignerAddress common.Address ValidatorAddress common.Address }, error)
DecodeSignatureValidatorNotApprovedError is a free data retrieval call binding the contract method 0x7b66ad34.
Solidity: function decodeSignatureValidatorNotApprovedError(bytes encoded) constant returns(address signerAddress, address validatorAddress)
func (*DevUtilsCallerSession) DecodeSignatureWalletError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeSignatureWalletError(encoded []byte) (struct { Hash [32]byte SignerAddress common.Address Signature []byte ErrorData []byte }, error)
DecodeSignatureWalletError is a free data retrieval call binding the contract method 0x3db6dc61.
Solidity: function decodeSignatureWalletError(bytes encoded) constant returns(bytes32 hash, address signerAddress, bytes signature, bytes errorData)
func (*DevUtilsCallerSession) DecodeTransactionError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeTransactionError(encoded []byte) (struct { ErrorCode uint8 TransactionHash [32]byte }, error)
DecodeTransactionError is a free data retrieval call binding the contract method 0xcafd3a07.
Solidity: function decodeTransactionError(bytes encoded) constant returns(uint8 errorCode, bytes32 transactionHash)
func (*DevUtilsCallerSession) DecodeTransactionExecutionError ¶
func (_DevUtils *DevUtilsCallerSession) DecodeTransactionExecutionError(encoded []byte) (struct { TransactionHash [32]byte ErrorData []byte }, error)
DecodeTransactionExecutionError is a free data retrieval call binding the contract method 0xbc03f964.
Solidity: function decodeTransactionExecutionError(bytes encoded) constant returns(bytes32 transactionHash, bytes errorData)
func (*DevUtilsCallerSession) DecodeZeroExTransactionData ¶
func (_DevUtils *DevUtilsCallerSession) DecodeZeroExTransactionData(transactionData []byte) (struct { FunctionName string Orders []Struct0 TakerAssetFillAmounts []*big.Int Signatures [][]byte }, error)
DecodeZeroExTransactionData is a free data retrieval call binding the contract method 0x6f83188e.
Solidity: function decodeZeroExTransactionData(bytes transactionData) constant returns(string functionName, []Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures)
func (*DevUtilsCallerSession) EncodeERC1155AssetData ¶
func (_DevUtils *DevUtilsCallerSession) EncodeERC1155AssetData(tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, callbackData []byte) ([]byte, error)
EncodeERC1155AssetData is a free data retrieval call binding the contract method 0xb43cffe1.
Solidity: function encodeERC1155AssetData(address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData) constant returns(bytes assetData)
func (*DevUtilsCallerSession) EncodeERC20AssetData ¶
func (_DevUtils *DevUtilsCallerSession) EncodeERC20AssetData(tokenAddress common.Address) ([]byte, error)
EncodeERC20AssetData is a free data retrieval call binding the contract method 0x590aa875.
Solidity: function encodeERC20AssetData(address tokenAddress) constant returns(bytes assetData)
func (*DevUtilsCallerSession) EncodeERC721AssetData ¶
func (_DevUtils *DevUtilsCallerSession) EncodeERC721AssetData(tokenAddress common.Address, tokenId *big.Int) ([]byte, error)
EncodeERC721AssetData is a free data retrieval call binding the contract method 0xa6627e9f.
Solidity: function encodeERC721AssetData(address tokenAddress, uint256 tokenId) constant returns(bytes assetData)
func (*DevUtilsCallerSession) EncodeMultiAssetData ¶
func (_DevUtils *DevUtilsCallerSession) EncodeMultiAssetData(amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)
EncodeMultiAssetData is a free data retrieval call binding the contract method 0xd3d862d1.
Solidity: function encodeMultiAssetData(uint256[] amounts, bytes[] nestedAssetData) constant returns(bytes assetData)
func (*DevUtilsCallerSession) GetAssetProxyAllowance ¶
func (_DevUtils *DevUtilsCallerSession) GetAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetAssetProxyAllowance is a free data retrieval call binding the contract method 0xd186037f.
Solidity: function getAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 allowance)
func (*DevUtilsCallerSession) GetBalance ¶
func (_DevUtils *DevUtilsCallerSession) GetBalance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x7d727512.
Solidity: function getBalance(address ownerAddress, bytes assetData) constant returns(uint256 balance)
func (*DevUtilsCallerSession) GetBalanceAndAssetProxyAllowance ¶
func (_DevUtils *DevUtilsCallerSession) GetBalanceAndAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (struct { Balance *big.Int Allowance *big.Int }, error)
GetBalanceAndAssetProxyAllowance is a free data retrieval call binding the contract method 0x0d7b7d76.
Solidity: function getBalanceAndAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 balance, uint256 allowance)
func (*DevUtilsCallerSession) GetBatchAssetProxyAllowances ¶
func (_DevUtils *DevUtilsCallerSession) GetBatchAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
GetBatchAssetProxyAllowances is a free data retrieval call binding the contract method 0x4dfdac20.
Solidity: function getBatchAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] allowances)
func (*DevUtilsCallerSession) GetBatchBalances ¶
func (_DevUtils *DevUtilsCallerSession) GetBatchBalances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
GetBatchBalances is a free data retrieval call binding the contract method 0xd001c5dc.
Solidity: function getBatchBalances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances)
func (*DevUtilsCallerSession) GetBatchBalancesAndAssetProxyAllowances ¶
func (_DevUtils *DevUtilsCallerSession) GetBatchBalancesAndAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) (struct { Balances []*big.Int Allowances []*big.Int }, error)
GetBatchBalancesAndAssetProxyAllowances is a free data retrieval call binding the contract method 0xe4e6e7da.
Solidity: function getBatchBalancesAndAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances, uint256[] allowances)
func (*DevUtilsCallerSession) GetEthBalances ¶
func (_DevUtils *DevUtilsCallerSession) GetEthBalances(addresses []common.Address) ([]*big.Int, error)
GetEthBalances is a free data retrieval call binding the contract method 0xa0901e51.
Solidity: function getEthBalances(address[] addresses) constant returns(uint256[])
func (*DevUtilsCallerSession) GetOrderRelevantState ¶
func (_DevUtils *DevUtilsCallerSession) GetOrderRelevantState(order Struct0, signature []byte) (struct { OrderInfo Struct1 FillableTakerAssetAmount *big.Int IsValidSignature bool }, error)
GetOrderRelevantState is a free data retrieval call binding the contract method 0xe77286eb.
Solidity: function getOrderRelevantState(Struct0 order, bytes signature) constant returns(Struct1 orderInfo, uint256 fillableTakerAssetAmount, bool isValidSignature)
func (*DevUtilsCallerSession) GetOrderRelevantStates ¶
func (_DevUtils *DevUtilsCallerSession) GetOrderRelevantStates(orders []Struct0, signatures [][]byte) (struct { OrdersInfo []Struct1 FillableTakerAssetAmounts []*big.Int IsValidSignature []bool }, error)
GetOrderRelevantStates is a free data retrieval call binding the contract method 0xe25cabf7.
Solidity: function getOrderRelevantStates([]Struct0 orders, bytes[] signatures) constant returns([]Struct1 ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)
func (*DevUtilsCallerSession) GetTransferableAssetAmount ¶
func (_DevUtils *DevUtilsCallerSession) GetTransferableAssetAmount(ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetTransferableAssetAmount is a free data retrieval call binding the contract method 0x2322cf76.
Solidity: function getTransferableAssetAmount(address ownerAddress, bytes assetData) constant returns(uint256 transferableAssetAmount)
type DevUtilsFilterer ¶
type DevUtilsFilterer struct {
// contains filtered or unexported fields
}
DevUtilsFilterer is an auto generated log filtering Go binding around an Klaytn contract events.
func NewDevUtilsFilterer ¶
func NewDevUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*DevUtilsFilterer, error)
NewDevUtilsFilterer creates a new log filterer instance of DevUtils, bound to a specific deployed contract.
type DevUtilsRaw ¶
type DevUtilsRaw struct {
Contract *DevUtils // Generic contract binding to access the raw methods on
}
DevUtilsRaw is an auto generated low-level Go binding around an Klaytn contract.
func (*DevUtilsRaw) Call ¶
func (_DevUtils *DevUtilsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*DevUtilsRaw) Transact ¶
func (_DevUtils *DevUtilsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DevUtilsRaw) Transfer ¶
func (_DevUtils *DevUtilsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DevUtilsSession ¶
type DevUtilsSession struct { Contract *DevUtils // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DevUtilsSession is an auto generated Go binding around an Klaytn contract, with pre-set call and transact options.
func (*DevUtilsSession) DecodeAssetProxyDispatchError ¶
func (_DevUtils *DevUtilsSession) DecodeAssetProxyDispatchError(encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte AssetData []byte }, error)
DecodeAssetProxyDispatchError is a free data retrieval call binding the contract method 0x32aae3ad.
Solidity: function decodeAssetProxyDispatchError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash, bytes assetData)
func (*DevUtilsSession) DecodeAssetProxyExistsError ¶
func (_DevUtils *DevUtilsSession) DecodeAssetProxyExistsError(encoded []byte) (struct { AssetProxyId [4]byte AssetProxyAddress common.Address }, error)
DecodeAssetProxyExistsError is a free data retrieval call binding the contract method 0x7914b2ec.
Solidity: function decodeAssetProxyExistsError(bytes encoded) constant returns(bytes4 assetProxyId, address assetProxyAddress)
func (*DevUtilsSession) DecodeAssetProxyTransferError ¶
func (_DevUtils *DevUtilsSession) DecodeAssetProxyTransferError(encoded []byte) (struct { OrderHash [32]byte AssetData []byte ErrorData []byte }, error)
DecodeAssetProxyTransferError is a free data retrieval call binding the contract method 0x314853ff.
Solidity: function decodeAssetProxyTransferError(bytes encoded) constant returns(bytes32 orderHash, bytes assetData, bytes errorData)
func (*DevUtilsSession) DecodeEIP1271SignatureError ¶
func (_DevUtils *DevUtilsSession) DecodeEIP1271SignatureError(encoded []byte) (struct { VerifyingContractAddress common.Address Data []byte Signature []byte ErrorData []byte }, error)
DecodeEIP1271SignatureError is a free data retrieval call binding the contract method 0xacaedc74.
Solidity: function decodeEIP1271SignatureError(bytes encoded) constant returns(address verifyingContractAddress, bytes data, bytes signature, bytes errorData)
func (*DevUtilsSession) DecodeERC1155AssetData ¶
func (_DevUtils *DevUtilsSession) DecodeERC1155AssetData(assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address TokenIds []*big.Int TokenValues []*big.Int CallbackData []byte }, error)
DecodeERC1155AssetData is a free data retrieval call binding the contract method 0x9eadc835.
Solidity: function decodeERC1155AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData)
func (*DevUtilsSession) DecodeERC20AssetData ¶
func (_DevUtils *DevUtilsSession) DecodeERC20AssetData(assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address }, error)
DecodeERC20AssetData is a free data retrieval call binding the contract method 0x8f4ce479.
Solidity: function decodeERC20AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress)
func (*DevUtilsSession) DecodeERC721AssetData ¶
func (_DevUtils *DevUtilsSession) DecodeERC721AssetData(assetData []byte) (struct { AssetProxyId [4]byte TokenAddress common.Address TokenId *big.Int }, error)
DecodeERC721AssetData is a free data retrieval call binding the contract method 0x04a5618a.
Solidity: function decodeERC721AssetData(bytes assetData) constant returns(bytes4 assetProxyId, address tokenAddress, uint256 tokenId)
func (*DevUtilsSession) DecodeExchangeInvalidContextError ¶
func (_DevUtils *DevUtilsSession) DecodeExchangeInvalidContextError(encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte ContextAddress common.Address }, error)
DecodeExchangeInvalidContextError is a free data retrieval call binding the contract method 0xee4f5a94.
Solidity: function decodeExchangeInvalidContextError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash, address contextAddress)
func (*DevUtilsSession) DecodeFillError ¶
func (_DevUtils *DevUtilsSession) DecodeFillError(encoded []byte) (struct { ErrorCode uint8 OrderHash [32]byte }, error)
DecodeFillError is a free data retrieval call binding the contract method 0x459be5e2.
Solidity: function decodeFillError(bytes encoded) constant returns(uint8 errorCode, bytes32 orderHash)
func (*DevUtilsSession) DecodeIncompleteFillError ¶
func (_DevUtils *DevUtilsSession) DecodeIncompleteFillError(encoded []byte) (struct { ErrorCode uint8 ExpectedAssetFillAmount *big.Int ActualAssetFillAmount *big.Int }, error)
DecodeIncompleteFillError is a free data retrieval call binding the contract method 0x165979e1.
Solidity: function decodeIncompleteFillError(bytes encoded) constant returns(uint8 errorCode, uint256 expectedAssetFillAmount, uint256 actualAssetFillAmount)
func (*DevUtilsSession) DecodeMultiAssetData ¶
func (_DevUtils *DevUtilsSession) DecodeMultiAssetData(assetData []byte) (struct { AssetProxyId [4]byte Amounts []*big.Int NestedAssetData [][]byte }, error)
DecodeMultiAssetData is a free data retrieval call binding the contract method 0xbbb2dcf6.
Solidity: function decodeMultiAssetData(bytes assetData) constant returns(bytes4 assetProxyId, uint256[] amounts, bytes[] nestedAssetData)
func (*DevUtilsSession) DecodeNegativeSpreadError ¶
func (_DevUtils *DevUtilsSession) DecodeNegativeSpreadError(encoded []byte) (struct { LeftOrderHash [32]byte RightOrderHash [32]byte }, error)
DecodeNegativeSpreadError is a free data retrieval call binding the contract method 0x327d3054.
Solidity: function decodeNegativeSpreadError(bytes encoded) constant returns(bytes32 leftOrderHash, bytes32 rightOrderHash)
func (*DevUtilsSession) DecodeOrderEpochError ¶
func (_DevUtils *DevUtilsSession) DecodeOrderEpochError(encoded []byte) (struct { MakerAddress common.Address OrderSenderAddress common.Address CurrentEpoch *big.Int }, error)
DecodeOrderEpochError is a free data retrieval call binding the contract method 0x65129042.
Solidity: function decodeOrderEpochError(bytes encoded) constant returns(address makerAddress, address orderSenderAddress, uint256 currentEpoch)
func (*DevUtilsSession) DecodeOrderStatusError ¶
func (_DevUtils *DevUtilsSession) DecodeOrderStatusError(encoded []byte) (struct { OrderHash [32]byte OrderStatus uint8 }, error)
DecodeOrderStatusError is a free data retrieval call binding the contract method 0x02d0aec3.
Solidity: function decodeOrderStatusError(bytes encoded) constant returns(bytes32 orderHash, uint8 orderStatus)
func (*DevUtilsSession) DecodeSignatureError ¶
func (_DevUtils *DevUtilsSession) DecodeSignatureError(encoded []byte) (struct { ErrorCode uint8 Hash [32]byte SignerAddress common.Address Signature []byte }, error)
DecodeSignatureError is a free data retrieval call binding the contract method 0x9a7e7526.
Solidity: function decodeSignatureError(bytes encoded) constant returns(uint8 errorCode, bytes32 hash, address signerAddress, bytes signature)
func (*DevUtilsSession) DecodeSignatureValidatorNotApprovedError ¶
func (_DevUtils *DevUtilsSession) DecodeSignatureValidatorNotApprovedError(encoded []byte) (struct { SignerAddress common.Address ValidatorAddress common.Address }, error)
DecodeSignatureValidatorNotApprovedError is a free data retrieval call binding the contract method 0x7b66ad34.
Solidity: function decodeSignatureValidatorNotApprovedError(bytes encoded) constant returns(address signerAddress, address validatorAddress)
func (*DevUtilsSession) DecodeSignatureWalletError ¶
func (_DevUtils *DevUtilsSession) DecodeSignatureWalletError(encoded []byte) (struct { Hash [32]byte SignerAddress common.Address Signature []byte ErrorData []byte }, error)
DecodeSignatureWalletError is a free data retrieval call binding the contract method 0x3db6dc61.
Solidity: function decodeSignatureWalletError(bytes encoded) constant returns(bytes32 hash, address signerAddress, bytes signature, bytes errorData)
func (*DevUtilsSession) DecodeTransactionError ¶
func (_DevUtils *DevUtilsSession) DecodeTransactionError(encoded []byte) (struct { ErrorCode uint8 TransactionHash [32]byte }, error)
DecodeTransactionError is a free data retrieval call binding the contract method 0xcafd3a07.
Solidity: function decodeTransactionError(bytes encoded) constant returns(uint8 errorCode, bytes32 transactionHash)
func (*DevUtilsSession) DecodeTransactionExecutionError ¶
func (_DevUtils *DevUtilsSession) DecodeTransactionExecutionError(encoded []byte) (struct { TransactionHash [32]byte ErrorData []byte }, error)
DecodeTransactionExecutionError is a free data retrieval call binding the contract method 0xbc03f964.
Solidity: function decodeTransactionExecutionError(bytes encoded) constant returns(bytes32 transactionHash, bytes errorData)
func (*DevUtilsSession) DecodeZeroExTransactionData ¶
func (_DevUtils *DevUtilsSession) DecodeZeroExTransactionData(transactionData []byte) (struct { FunctionName string Orders []Struct0 TakerAssetFillAmounts []*big.Int Signatures [][]byte }, error)
DecodeZeroExTransactionData is a free data retrieval call binding the contract method 0x6f83188e.
Solidity: function decodeZeroExTransactionData(bytes transactionData) constant returns(string functionName, []Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures)
func (*DevUtilsSession) EncodeERC1155AssetData ¶
func (_DevUtils *DevUtilsSession) EncodeERC1155AssetData(tokenAddress common.Address, tokenIds []*big.Int, tokenValues []*big.Int, callbackData []byte) ([]byte, error)
EncodeERC1155AssetData is a free data retrieval call binding the contract method 0xb43cffe1.
Solidity: function encodeERC1155AssetData(address tokenAddress, uint256[] tokenIds, uint256[] tokenValues, bytes callbackData) constant returns(bytes assetData)
func (*DevUtilsSession) EncodeERC20AssetData ¶
func (_DevUtils *DevUtilsSession) EncodeERC20AssetData(tokenAddress common.Address) ([]byte, error)
EncodeERC20AssetData is a free data retrieval call binding the contract method 0x590aa875.
Solidity: function encodeERC20AssetData(address tokenAddress) constant returns(bytes assetData)
func (*DevUtilsSession) EncodeERC721AssetData ¶
func (_DevUtils *DevUtilsSession) EncodeERC721AssetData(tokenAddress common.Address, tokenId *big.Int) ([]byte, error)
EncodeERC721AssetData is a free data retrieval call binding the contract method 0xa6627e9f.
Solidity: function encodeERC721AssetData(address tokenAddress, uint256 tokenId) constant returns(bytes assetData)
func (*DevUtilsSession) EncodeMultiAssetData ¶
func (_DevUtils *DevUtilsSession) EncodeMultiAssetData(amounts []*big.Int, nestedAssetData [][]byte) ([]byte, error)
EncodeMultiAssetData is a free data retrieval call binding the contract method 0xd3d862d1.
Solidity: function encodeMultiAssetData(uint256[] amounts, bytes[] nestedAssetData) constant returns(bytes assetData)
func (*DevUtilsSession) GetAssetProxyAllowance ¶
func (_DevUtils *DevUtilsSession) GetAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetAssetProxyAllowance is a free data retrieval call binding the contract method 0xd186037f.
Solidity: function getAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 allowance)
func (*DevUtilsSession) GetBalance ¶
func (_DevUtils *DevUtilsSession) GetBalance(ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetBalance is a free data retrieval call binding the contract method 0x7d727512.
Solidity: function getBalance(address ownerAddress, bytes assetData) constant returns(uint256 balance)
func (*DevUtilsSession) GetBalanceAndAssetProxyAllowance ¶
func (_DevUtils *DevUtilsSession) GetBalanceAndAssetProxyAllowance(ownerAddress common.Address, assetData []byte) (struct { Balance *big.Int Allowance *big.Int }, error)
GetBalanceAndAssetProxyAllowance is a free data retrieval call binding the contract method 0x0d7b7d76.
Solidity: function getBalanceAndAssetProxyAllowance(address ownerAddress, bytes assetData) constant returns(uint256 balance, uint256 allowance)
func (*DevUtilsSession) GetBatchAssetProxyAllowances ¶
func (_DevUtils *DevUtilsSession) GetBatchAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
GetBatchAssetProxyAllowances is a free data retrieval call binding the contract method 0x4dfdac20.
Solidity: function getBatchAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] allowances)
func (*DevUtilsSession) GetBatchBalances ¶
func (_DevUtils *DevUtilsSession) GetBatchBalances(ownerAddress common.Address, assetData [][]byte) ([]*big.Int, error)
GetBatchBalances is a free data retrieval call binding the contract method 0xd001c5dc.
Solidity: function getBatchBalances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances)
func (*DevUtilsSession) GetBatchBalancesAndAssetProxyAllowances ¶
func (_DevUtils *DevUtilsSession) GetBatchBalancesAndAssetProxyAllowances(ownerAddress common.Address, assetData [][]byte) (struct { Balances []*big.Int Allowances []*big.Int }, error)
GetBatchBalancesAndAssetProxyAllowances is a free data retrieval call binding the contract method 0xe4e6e7da.
Solidity: function getBatchBalancesAndAssetProxyAllowances(address ownerAddress, bytes[] assetData) constant returns(uint256[] balances, uint256[] allowances)
func (*DevUtilsSession) GetEthBalances ¶
GetEthBalances is a free data retrieval call binding the contract method 0xa0901e51.
Solidity: function getEthBalances(address[] addresses) constant returns(uint256[])
func (*DevUtilsSession) GetOrderRelevantState ¶
func (_DevUtils *DevUtilsSession) GetOrderRelevantState(order Struct0, signature []byte) (struct { OrderInfo Struct1 FillableTakerAssetAmount *big.Int IsValidSignature bool }, error)
GetOrderRelevantState is a free data retrieval call binding the contract method 0xe77286eb.
Solidity: function getOrderRelevantState(Struct0 order, bytes signature) constant returns(Struct1 orderInfo, uint256 fillableTakerAssetAmount, bool isValidSignature)
func (*DevUtilsSession) GetOrderRelevantStates ¶
func (_DevUtils *DevUtilsSession) GetOrderRelevantStates(orders []Struct0, signatures [][]byte) (struct { OrdersInfo []Struct1 FillableTakerAssetAmounts []*big.Int IsValidSignature []bool }, error)
GetOrderRelevantStates is a free data retrieval call binding the contract method 0xe25cabf7.
Solidity: function getOrderRelevantStates([]Struct0 orders, bytes[] signatures) constant returns([]Struct1 ordersInfo, uint256[] fillableTakerAssetAmounts, bool[] isValidSignature)
func (*DevUtilsSession) GetSimulatedOrderTransferResults ¶
func (_DevUtils *DevUtilsSession) GetSimulatedOrderTransferResults(order Struct0, takerAddress common.Address, takerAssetFillAmount *big.Int) (*types.Transaction, error)
GetSimulatedOrderTransferResults is a paid mutator transaction binding the contract method 0xd3637905.
Solidity: function getSimulatedOrderTransferResults(Struct0 order, address takerAddress, uint256 takerAssetFillAmount) returns(uint8 orderTransferResults)
func (*DevUtilsSession) GetSimulatedOrdersTransferResults ¶
func (_DevUtils *DevUtilsSession) GetSimulatedOrdersTransferResults(orders []Struct0, takerAddresses []common.Address, takerAssetFillAmounts []*big.Int) (*types.Transaction, error)
GetSimulatedOrdersTransferResults is a paid mutator transaction binding the contract method 0xa5cd62ba.
Solidity: function getSimulatedOrdersTransferResults([]Struct0 orders, address[] takerAddresses, uint256[] takerAssetFillAmounts) returns(uint8[] orderTransferResults)
func (*DevUtilsSession) GetTransferableAssetAmount ¶
func (_DevUtils *DevUtilsSession) GetTransferableAssetAmount(ownerAddress common.Address, assetData []byte) (*big.Int, error)
GetTransferableAssetAmount is a free data retrieval call binding the contract method 0x2322cf76.
Solidity: function getTransferableAssetAmount(address ownerAddress, bytes assetData) constant returns(uint256 transferableAssetAmount)
type DevUtilsTransactor ¶
type DevUtilsTransactor struct {
// contains filtered or unexported fields
}
DevUtilsTransactor is an auto generated write-only Go binding around an Klaytn contract.
func NewDevUtilsTransactor ¶
func NewDevUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*DevUtilsTransactor, error)
NewDevUtilsTransactor creates a new write-only instance of DevUtils, bound to a specific deployed contract.
func (*DevUtilsTransactor) GetSimulatedOrderTransferResults ¶
func (_DevUtils *DevUtilsTransactor) GetSimulatedOrderTransferResults(opts *bind.TransactOpts, order Struct0, takerAddress common.Address, takerAssetFillAmount *big.Int) (*types.Transaction, error)
GetSimulatedOrderTransferResults is a paid mutator transaction binding the contract method 0xd3637905.
Solidity: function getSimulatedOrderTransferResults(Struct0 order, address takerAddress, uint256 takerAssetFillAmount) returns(uint8 orderTransferResults)
func (*DevUtilsTransactor) GetSimulatedOrdersTransferResults ¶
func (_DevUtils *DevUtilsTransactor) GetSimulatedOrdersTransferResults(opts *bind.TransactOpts, orders []Struct0, takerAddresses []common.Address, takerAssetFillAmounts []*big.Int) (*types.Transaction, error)
GetSimulatedOrdersTransferResults is a paid mutator transaction binding the contract method 0xa5cd62ba.
Solidity: function getSimulatedOrdersTransferResults([]Struct0 orders, address[] takerAddresses, uint256[] takerAssetFillAmounts) returns(uint8[] orderTransferResults)
type DevUtilsTransactorRaw ¶
type DevUtilsTransactorRaw struct {
Contract *DevUtilsTransactor // Generic write-only contract binding to access the raw methods on
}
DevUtilsTransactorRaw is an auto generated low-level write-only Go binding around an Klaytn contract.
func (*DevUtilsTransactorRaw) Transact ¶
func (_DevUtils *DevUtilsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*DevUtilsTransactorRaw) Transfer ¶
func (_DevUtils *DevUtilsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type DevUtilsTransactorSession ¶
type DevUtilsTransactorSession struct { Contract *DevUtilsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
DevUtilsTransactorSession is an auto generated write-only Go binding around an Klaytn contract, with pre-set transact options.
func (*DevUtilsTransactorSession) GetSimulatedOrderTransferResults ¶
func (_DevUtils *DevUtilsTransactorSession) GetSimulatedOrderTransferResults(order Struct0, takerAddress common.Address, takerAssetFillAmount *big.Int) (*types.Transaction, error)
GetSimulatedOrderTransferResults is a paid mutator transaction binding the contract method 0xd3637905.
Solidity: function getSimulatedOrderTransferResults(Struct0 order, address takerAddress, uint256 takerAssetFillAmount) returns(uint8 orderTransferResults)
func (*DevUtilsTransactorSession) GetSimulatedOrdersTransferResults ¶
func (_DevUtils *DevUtilsTransactorSession) GetSimulatedOrdersTransferResults(orders []Struct0, takerAddresses []common.Address, takerAssetFillAmounts []*big.Int) (*types.Transaction, error)
GetSimulatedOrdersTransferResults is a paid mutator transaction binding the contract method 0xa5cd62ba.
Solidity: function getSimulatedOrdersTransferResults([]Struct0 orders, address[] takerAddresses, uint256[] takerAssetFillAmounts) returns(uint8[] orderTransferResults)
type Exchange ¶
type Exchange struct { ExchangeCaller // Read-only binding to the contract ExchangeTransactor // Write-only binding to the contract ExchangeFilterer // Log filterer for contract events }
Exchange is an auto generated Go binding around an Klaytn contract.
func NewExchange ¶
NewExchange creates a new instance of Exchange, bound to a specific deployed contract.
type ExchangeAssetProxyRegistered ¶
type ExchangeAssetProxyRegistered struct { Id [4]byte AssetProxy common.Address Raw types.Log // Blockchain specific contextual infos }
ExchangeAssetProxyRegistered represents a AssetProxyRegistered event raised by the Exchange contract.
type ExchangeAssetProxyRegisteredIterator ¶
type ExchangeAssetProxyRegisteredIterator struct { Event *ExchangeAssetProxyRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeAssetProxyRegisteredIterator is returned from FilterAssetProxyRegistered and is used to iterate over the raw logs and unpacked data for AssetProxyRegistered events raised by the Exchange contract.
func (*ExchangeAssetProxyRegisteredIterator) Close ¶
func (it *ExchangeAssetProxyRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeAssetProxyRegisteredIterator) Error ¶
func (it *ExchangeAssetProxyRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeAssetProxyRegisteredIterator) Next ¶
func (it *ExchangeAssetProxyRegisteredIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeCaller ¶
type ExchangeCaller struct {
// contains filtered or unexported fields
}
ExchangeCaller is an auto generated read-only Go binding around an Klaytn contract.
func NewExchangeCaller ¶
func NewExchangeCaller(address common.Address, caller bind.ContractCaller) (*ExchangeCaller, error)
NewExchangeCaller creates a new read-only instance of Exchange, bound to a specific deployed contract.
func (*ExchangeCaller) AllowedValidators ¶
func (_Exchange *ExchangeCaller) AllowedValidators(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)
AllowedValidators is a free data retrieval call binding the contract method 0x7b8e3514.
Solidity: function allowedValidators(address , address ) constant returns(bool)
func (*ExchangeCaller) Cancelled ¶
Cancelled is a free data retrieval call binding the contract method 0x2ac12622.
Solidity: function cancelled(bytes32 ) constant returns(bool)
func (*ExchangeCaller) CurrentContextAddress ¶
CurrentContextAddress is a free data retrieval call binding the contract method 0xeea086ba.
Solidity: function currentContextAddress() constant returns(address)
func (*ExchangeCaller) EIP1271MAGICVALUE ¶
func (_Exchange *ExchangeCaller) EIP1271MAGICVALUE(opts *bind.CallOpts) ([4]byte, error)
EIP1271MAGICVALUE is a free data retrieval call binding the contract method 0xdd885e2d.
Solidity: function EIP1271_MAGIC_VALUE() constant returns(bytes4)
func (*ExchangeCaller) EIP712EXCHANGEDOMAINHASH ¶
func (_Exchange *ExchangeCaller) EIP712EXCHANGEDOMAINHASH(opts *bind.CallOpts) ([32]byte, error)
EIP712EXCHANGEDOMAINHASH is a free data retrieval call binding the contract method 0xc26cfecd.
Solidity: function EIP712_EXCHANGE_DOMAIN_HASH() constant returns(bytes32)
func (*ExchangeCaller) Filled ¶
Filled is a free data retrieval call binding the contract method 0x288cdc91.
Solidity: function filled(bytes32 ) constant returns(uint256)
func (*ExchangeCaller) GetAssetProxy ¶
func (_Exchange *ExchangeCaller) GetAssetProxy(opts *bind.CallOpts, assetProxyId [4]byte) (common.Address, error)
GetAssetProxy is a free data retrieval call binding the contract method 0x60704108.
Solidity: function getAssetProxy(bytes4 assetProxyId) constant returns(address)
func (*ExchangeCaller) GetOrderInfo ¶
GetOrderInfo is a free data retrieval call binding the contract method 0x9d3fa4b9.
Solidity: function getOrderInfo(Struct0 order) constant returns(Struct5 orderInfo)
func (*ExchangeCaller) IsValidHashSignature ¶
func (_Exchange *ExchangeCaller) IsValidHashSignature(opts *bind.CallOpts, hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)
IsValidHashSignature is a free data retrieval call binding the contract method 0x8171c407.
Solidity: function isValidHashSignature(bytes32 hash, address signerAddress, bytes signature) constant returns(bool isValid)
func (*ExchangeCaller) IsValidOrderSignature ¶
func (_Exchange *ExchangeCaller) IsValidOrderSignature(opts *bind.CallOpts, order Struct0, signature []byte) (bool, error)
IsValidOrderSignature is a free data retrieval call binding the contract method 0xa12dcc6f.
Solidity: function isValidOrderSignature(Struct0 order, bytes signature) constant returns(bool isValid)
func (*ExchangeCaller) IsValidTransactionSignature ¶
func (_Exchange *ExchangeCaller) IsValidTransactionSignature(opts *bind.CallOpts, transaction Struct3, signature []byte) (bool, error)
IsValidTransactionSignature is a free data retrieval call binding the contract method 0x8d45cd23.
Solidity: function isValidTransactionSignature(Struct3 transaction, bytes signature) constant returns(bool isValid)
func (*ExchangeCaller) OrderEpoch ¶
func (_Exchange *ExchangeCaller) OrderEpoch(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
OrderEpoch is a free data retrieval call binding the contract method 0xd9bfa73e.
Solidity: function orderEpoch(address , address ) constant returns(uint256)
func (*ExchangeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ExchangeCaller) PreSigned ¶
func (_Exchange *ExchangeCaller) PreSigned(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (bool, error)
PreSigned is a free data retrieval call binding the contract method 0x82c174d0.
Solidity: function preSigned(bytes32 , address ) constant returns(bool)
func (*ExchangeCaller) ProtocolFeeCollector ¶
ProtocolFeeCollector is a free data retrieval call binding the contract method 0x850a1501.
Solidity: function protocolFeeCollector() constant returns(address)
func (*ExchangeCaller) ProtocolFeeMultiplier ¶
ProtocolFeeMultiplier is a free data retrieval call binding the contract method 0x1ce4c78b.
Solidity: function protocolFeeMultiplier() constant returns(uint256)
func (*ExchangeCaller) TransactionsExecuted ¶
func (_Exchange *ExchangeCaller) TransactionsExecuted(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
TransactionsExecuted is a free data retrieval call binding the contract method 0x0228e168.
Solidity: function transactionsExecuted(bytes32 ) constant returns(bool)
type ExchangeCallerRaw ¶
type ExchangeCallerRaw struct {
Contract *ExchangeCaller // Generic read-only contract binding to access the raw methods on
}
ExchangeCallerRaw is an auto generated low-level read-only Go binding around an Klaytn contract.
func (*ExchangeCallerRaw) Call ¶
func (_Exchange *ExchangeCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ExchangeCallerSession ¶
type ExchangeCallerSession struct { Contract *ExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ExchangeCallerSession is an auto generated read-only Go binding around an Klaytn contract, with pre-set call options.
func (*ExchangeCallerSession) AllowedValidators ¶
func (_Exchange *ExchangeCallerSession) AllowedValidators(arg0 common.Address, arg1 common.Address) (bool, error)
AllowedValidators is a free data retrieval call binding the contract method 0x7b8e3514.
Solidity: function allowedValidators(address , address ) constant returns(bool)
func (*ExchangeCallerSession) Cancelled ¶
func (_Exchange *ExchangeCallerSession) Cancelled(arg0 [32]byte) (bool, error)
Cancelled is a free data retrieval call binding the contract method 0x2ac12622.
Solidity: function cancelled(bytes32 ) constant returns(bool)
func (*ExchangeCallerSession) CurrentContextAddress ¶
func (_Exchange *ExchangeCallerSession) CurrentContextAddress() (common.Address, error)
CurrentContextAddress is a free data retrieval call binding the contract method 0xeea086ba.
Solidity: function currentContextAddress() constant returns(address)
func (*ExchangeCallerSession) EIP1271MAGICVALUE ¶
func (_Exchange *ExchangeCallerSession) EIP1271MAGICVALUE() ([4]byte, error)
EIP1271MAGICVALUE is a free data retrieval call binding the contract method 0xdd885e2d.
Solidity: function EIP1271_MAGIC_VALUE() constant returns(bytes4)
func (*ExchangeCallerSession) EIP712EXCHANGEDOMAINHASH ¶
func (_Exchange *ExchangeCallerSession) EIP712EXCHANGEDOMAINHASH() ([32]byte, error)
EIP712EXCHANGEDOMAINHASH is a free data retrieval call binding the contract method 0xc26cfecd.
Solidity: function EIP712_EXCHANGE_DOMAIN_HASH() constant returns(bytes32)
func (*ExchangeCallerSession) Filled ¶
func (_Exchange *ExchangeCallerSession) Filled(arg0 [32]byte) (*big.Int, error)
Filled is a free data retrieval call binding the contract method 0x288cdc91.
Solidity: function filled(bytes32 ) constant returns(uint256)
func (*ExchangeCallerSession) GetAssetProxy ¶
func (_Exchange *ExchangeCallerSession) GetAssetProxy(assetProxyId [4]byte) (common.Address, error)
GetAssetProxy is a free data retrieval call binding the contract method 0x60704108.
Solidity: function getAssetProxy(bytes4 assetProxyId) constant returns(address)
func (*ExchangeCallerSession) GetOrderInfo ¶
func (_Exchange *ExchangeCallerSession) GetOrderInfo(order Struct0) (Struct5, error)
GetOrderInfo is a free data retrieval call binding the contract method 0x9d3fa4b9.
Solidity: function getOrderInfo(Struct0 order) constant returns(Struct5 orderInfo)
func (*ExchangeCallerSession) IsValidHashSignature ¶
func (_Exchange *ExchangeCallerSession) IsValidHashSignature(hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)
IsValidHashSignature is a free data retrieval call binding the contract method 0x8171c407.
Solidity: function isValidHashSignature(bytes32 hash, address signerAddress, bytes signature) constant returns(bool isValid)
func (*ExchangeCallerSession) IsValidOrderSignature ¶
func (_Exchange *ExchangeCallerSession) IsValidOrderSignature(order Struct0, signature []byte) (bool, error)
IsValidOrderSignature is a free data retrieval call binding the contract method 0xa12dcc6f.
Solidity: function isValidOrderSignature(Struct0 order, bytes signature) constant returns(bool isValid)
func (*ExchangeCallerSession) IsValidTransactionSignature ¶
func (_Exchange *ExchangeCallerSession) IsValidTransactionSignature(transaction Struct3, signature []byte) (bool, error)
IsValidTransactionSignature is a free data retrieval call binding the contract method 0x8d45cd23.
Solidity: function isValidTransactionSignature(Struct3 transaction, bytes signature) constant returns(bool isValid)
func (*ExchangeCallerSession) OrderEpoch ¶
func (_Exchange *ExchangeCallerSession) OrderEpoch(arg0 common.Address, arg1 common.Address) (*big.Int, error)
OrderEpoch is a free data retrieval call binding the contract method 0xd9bfa73e.
Solidity: function orderEpoch(address , address ) constant returns(uint256)
func (*ExchangeCallerSession) Owner ¶
func (_Exchange *ExchangeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ExchangeCallerSession) PreSigned ¶
PreSigned is a free data retrieval call binding the contract method 0x82c174d0.
Solidity: function preSigned(bytes32 , address ) constant returns(bool)
func (*ExchangeCallerSession) ProtocolFeeCollector ¶
func (_Exchange *ExchangeCallerSession) ProtocolFeeCollector() (common.Address, error)
ProtocolFeeCollector is a free data retrieval call binding the contract method 0x850a1501.
Solidity: function protocolFeeCollector() constant returns(address)
func (*ExchangeCallerSession) ProtocolFeeMultiplier ¶
func (_Exchange *ExchangeCallerSession) ProtocolFeeMultiplier() (*big.Int, error)
ProtocolFeeMultiplier is a free data retrieval call binding the contract method 0x1ce4c78b.
Solidity: function protocolFeeMultiplier() constant returns(uint256)
func (*ExchangeCallerSession) TransactionsExecuted ¶
func (_Exchange *ExchangeCallerSession) TransactionsExecuted(arg0 [32]byte) (bool, error)
TransactionsExecuted is a free data retrieval call binding the contract method 0x0228e168.
Solidity: function transactionsExecuted(bytes32 ) constant returns(bool)
type ExchangeCancel ¶
type ExchangeCancel struct { MakerAddress common.Address FeeRecipientAddress common.Address MakerAssetData []byte TakerAssetData []byte SenderAddress common.Address OrderHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeCancel represents a Cancel event raised by the Exchange contract.
type ExchangeCancelIterator ¶
type ExchangeCancelIterator struct { Event *ExchangeCancel // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeCancelIterator is returned from FilterCancel and is used to iterate over the raw logs and unpacked data for Cancel events raised by the Exchange contract.
func (*ExchangeCancelIterator) Close ¶
func (it *ExchangeCancelIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeCancelIterator) Error ¶
func (it *ExchangeCancelIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeCancelIterator) Next ¶
func (it *ExchangeCancelIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeCancelUpTo ¶
type ExchangeCancelUpTo struct { MakerAddress common.Address OrderSenderAddress common.Address OrderEpoch *big.Int Raw types.Log // Blockchain specific contextual infos }
ExchangeCancelUpTo represents a CancelUpTo event raised by the Exchange contract.
type ExchangeCancelUpToIterator ¶
type ExchangeCancelUpToIterator struct { Event *ExchangeCancelUpTo // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeCancelUpToIterator is returned from FilterCancelUpTo and is used to iterate over the raw logs and unpacked data for CancelUpTo events raised by the Exchange contract.
func (*ExchangeCancelUpToIterator) Close ¶
func (it *ExchangeCancelUpToIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeCancelUpToIterator) Error ¶
func (it *ExchangeCancelUpToIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeCancelUpToIterator) Next ¶
func (it *ExchangeCancelUpToIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeFill ¶
type ExchangeFill struct { MakerAddress common.Address FeeRecipientAddress common.Address MakerAssetData []byte TakerAssetData []byte MakerFeeAssetData []byte TakerFeeAssetData []byte OrderHash [32]byte TakerAddress common.Address SenderAddress common.Address MakerAssetFilledAmount *big.Int TakerAssetFilledAmount *big.Int MakerFeePaid *big.Int TakerFeePaid *big.Int ProtocolFeePaid *big.Int Raw types.Log // Blockchain specific contextual infos }
ExchangeFill represents a Fill event raised by the Exchange contract.
type ExchangeFillIterator ¶
type ExchangeFillIterator struct { Event *ExchangeFill // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeFillIterator is returned from FilterFill and is used to iterate over the raw logs and unpacked data for Fill events raised by the Exchange contract.
func (*ExchangeFillIterator) Close ¶
func (it *ExchangeFillIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeFillIterator) Error ¶
func (it *ExchangeFillIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeFillIterator) Next ¶
func (it *ExchangeFillIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeFilterer ¶
type ExchangeFilterer struct {
// contains filtered or unexported fields
}
ExchangeFilterer is an auto generated log filtering Go binding around an Klaytn contract events.
func NewExchangeFilterer ¶
func NewExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*ExchangeFilterer, error)
NewExchangeFilterer creates a new log filterer instance of Exchange, bound to a specific deployed contract.
func (*ExchangeFilterer) FilterAssetProxyRegistered ¶
func (_Exchange *ExchangeFilterer) FilterAssetProxyRegistered(opts *bind.FilterOpts) (*ExchangeAssetProxyRegisteredIterator, error)
FilterAssetProxyRegistered is a free log retrieval operation binding the contract event 0xd2c6b762299c609bdb96520b58a49bfb80186934d4f71a86a367571a15c03194.
Solidity: event AssetProxyRegistered(bytes4 id, address assetProxy)
func (*ExchangeFilterer) FilterCancel ¶
func (_Exchange *ExchangeFilterer) FilterCancel(opts *bind.FilterOpts, makerAddress []common.Address, feeRecipientAddress []common.Address, orderHash [][32]byte) (*ExchangeCancelIterator, error)
FilterCancel is a free log retrieval operation binding the contract event 0x02c310a9a43963ff31a754a4099cc435ed498049687539d72d7818d9b093415c.
Solidity: event Cancel(address indexed makerAddress, address indexed feeRecipientAddress, bytes makerAssetData, bytes takerAssetData, address senderAddress, bytes32 indexed orderHash)
func (*ExchangeFilterer) FilterCancelUpTo ¶
func (_Exchange *ExchangeFilterer) FilterCancelUpTo(opts *bind.FilterOpts, makerAddress []common.Address, orderSenderAddress []common.Address) (*ExchangeCancelUpToIterator, error)
FilterCancelUpTo is a free log retrieval operation binding the contract event 0x82af639571738f4ebd4268fb0363d8957ebe1bbb9e78dba5ebd69eed39b154f0.
Solidity: event CancelUpTo(address indexed makerAddress, address indexed orderSenderAddress, uint256 orderEpoch)
func (*ExchangeFilterer) FilterFill ¶
func (_Exchange *ExchangeFilterer) FilterFill(opts *bind.FilterOpts, makerAddress []common.Address, feeRecipientAddress []common.Address, orderHash [][32]byte) (*ExchangeFillIterator, error)
FilterFill is a free log retrieval operation binding the contract event 0x6869791f0a34781b29882982cc39e882768cf2c96995c2a110c577c53bc932d5.
Solidity: event Fill(address indexed makerAddress, address indexed feeRecipientAddress, bytes makerAssetData, bytes takerAssetData, bytes makerFeeAssetData, bytes takerFeeAssetData, bytes32 indexed orderHash, address takerAddress, address senderAddress, uint256 makerAssetFilledAmount, uint256 takerAssetFilledAmount, uint256 makerFeePaid, uint256 takerFeePaid, uint256 protocolFeePaid)
func (*ExchangeFilterer) FilterProtocolFeeCollectorAddress ¶
func (_Exchange *ExchangeFilterer) FilterProtocolFeeCollectorAddress(opts *bind.FilterOpts) (*ExchangeProtocolFeeCollectorAddressIterator, error)
FilterProtocolFeeCollectorAddress is a free log retrieval operation binding the contract event 0xe1a5430ebec577336427f40f15822f1f36c5e3509ff209d6db9e6c9e6941cb0b.
Solidity: event ProtocolFeeCollectorAddress(address oldProtocolFeeCollector, address updatedProtocolFeeCollector)
func (*ExchangeFilterer) FilterProtocolFeeMultiplier ¶
func (_Exchange *ExchangeFilterer) FilterProtocolFeeMultiplier(opts *bind.FilterOpts) (*ExchangeProtocolFeeMultiplierIterator, error)
FilterProtocolFeeMultiplier is a free log retrieval operation binding the contract event 0x3a3e76d7a75e198aef1f53137e4f2a8a2ec74e2e9526db8404d08ccc9f1e621d.
Solidity: event ProtocolFeeMultiplier(uint256 oldProtocolFeeMultiplier, uint256 updatedProtocolFeeMultiplier)
func (*ExchangeFilterer) FilterSignatureValidatorApproval ¶
func (_Exchange *ExchangeFilterer) FilterSignatureValidatorApproval(opts *bind.FilterOpts, signerAddress []common.Address, validatorAddress []common.Address) (*ExchangeSignatureValidatorApprovalIterator, error)
FilterSignatureValidatorApproval is a free log retrieval operation binding the contract event 0xa8656e308026eeabce8f0bc18048433252318ab80ac79da0b3d3d8697dfba891.
Solidity: event SignatureValidatorApproval(address indexed signerAddress, address indexed validatorAddress, bool isApproved)
func (*ExchangeFilterer) FilterTransactionExecution ¶
func (_Exchange *ExchangeFilterer) FilterTransactionExecution(opts *bind.FilterOpts, transactionHash [][32]byte) (*ExchangeTransactionExecutionIterator, error)
FilterTransactionExecution is a free log retrieval operation binding the contract event 0xa4a7329f1dd821363067e07d359e347b4af9b1efe4b6cccf13240228af3c800d.
Solidity: event TransactionExecution(bytes32 indexed transactionHash)
func (*ExchangeFilterer) ParseAssetProxyRegistered ¶
func (_Exchange *ExchangeFilterer) ParseAssetProxyRegistered(log types.Log) (*ExchangeAssetProxyRegistered, error)
ParseAssetProxyRegistered is a log parse operation binding the contract event 0xd2c6b762299c609bdb96520b58a49bfb80186934d4f71a86a367571a15c03194.
Solidity: event AssetProxyRegistered(bytes4 id, address assetProxy)
func (*ExchangeFilterer) ParseCancel ¶
func (_Exchange *ExchangeFilterer) ParseCancel(log types.Log) (*ExchangeCancel, error)
ParseCancel is a log parse operation binding the contract event 0x02c310a9a43963ff31a754a4099cc435ed498049687539d72d7818d9b093415c.
Solidity: event Cancel(address indexed makerAddress, address indexed feeRecipientAddress, bytes makerAssetData, bytes takerAssetData, address senderAddress, bytes32 indexed orderHash)
func (*ExchangeFilterer) ParseCancelUpTo ¶
func (_Exchange *ExchangeFilterer) ParseCancelUpTo(log types.Log) (*ExchangeCancelUpTo, error)
ParseCancelUpTo is a log parse operation binding the contract event 0x82af639571738f4ebd4268fb0363d8957ebe1bbb9e78dba5ebd69eed39b154f0.
Solidity: event CancelUpTo(address indexed makerAddress, address indexed orderSenderAddress, uint256 orderEpoch)
func (*ExchangeFilterer) ParseFill ¶
func (_Exchange *ExchangeFilterer) ParseFill(log types.Log) (*ExchangeFill, error)
ParseFill is a log parse operation binding the contract event 0x6869791f0a34781b29882982cc39e882768cf2c96995c2a110c577c53bc932d5.
Solidity: event Fill(address indexed makerAddress, address indexed feeRecipientAddress, bytes makerAssetData, bytes takerAssetData, bytes makerFeeAssetData, bytes takerFeeAssetData, bytes32 indexed orderHash, address takerAddress, address senderAddress, uint256 makerAssetFilledAmount, uint256 takerAssetFilledAmount, uint256 makerFeePaid, uint256 takerFeePaid, uint256 protocolFeePaid)
func (*ExchangeFilterer) ParseProtocolFeeCollectorAddress ¶
func (_Exchange *ExchangeFilterer) ParseProtocolFeeCollectorAddress(log types.Log) (*ExchangeProtocolFeeCollectorAddress, error)
ParseProtocolFeeCollectorAddress is a log parse operation binding the contract event 0xe1a5430ebec577336427f40f15822f1f36c5e3509ff209d6db9e6c9e6941cb0b.
Solidity: event ProtocolFeeCollectorAddress(address oldProtocolFeeCollector, address updatedProtocolFeeCollector)
func (*ExchangeFilterer) ParseProtocolFeeMultiplier ¶
func (_Exchange *ExchangeFilterer) ParseProtocolFeeMultiplier(log types.Log) (*ExchangeProtocolFeeMultiplier, error)
ParseProtocolFeeMultiplier is a log parse operation binding the contract event 0x3a3e76d7a75e198aef1f53137e4f2a8a2ec74e2e9526db8404d08ccc9f1e621d.
Solidity: event ProtocolFeeMultiplier(uint256 oldProtocolFeeMultiplier, uint256 updatedProtocolFeeMultiplier)
func (*ExchangeFilterer) ParseSignatureValidatorApproval ¶
func (_Exchange *ExchangeFilterer) ParseSignatureValidatorApproval(log types.Log) (*ExchangeSignatureValidatorApproval, error)
ParseSignatureValidatorApproval is a log parse operation binding the contract event 0xa8656e308026eeabce8f0bc18048433252318ab80ac79da0b3d3d8697dfba891.
Solidity: event SignatureValidatorApproval(address indexed signerAddress, address indexed validatorAddress, bool isApproved)
func (*ExchangeFilterer) ParseTransactionExecution ¶
func (_Exchange *ExchangeFilterer) ParseTransactionExecution(log types.Log) (*ExchangeTransactionExecution, error)
ParseTransactionExecution is a log parse operation binding the contract event 0xa4a7329f1dd821363067e07d359e347b4af9b1efe4b6cccf13240228af3c800d.
Solidity: event TransactionExecution(bytes32 indexed transactionHash)
func (*ExchangeFilterer) WatchAssetProxyRegistered ¶
func (_Exchange *ExchangeFilterer) WatchAssetProxyRegistered(opts *bind.WatchOpts, sink chan<- *ExchangeAssetProxyRegistered) (event.Subscription, error)
WatchAssetProxyRegistered is a free log subscription operation binding the contract event 0xd2c6b762299c609bdb96520b58a49bfb80186934d4f71a86a367571a15c03194.
Solidity: event AssetProxyRegistered(bytes4 id, address assetProxy)
func (*ExchangeFilterer) WatchCancel ¶
func (_Exchange *ExchangeFilterer) WatchCancel(opts *bind.WatchOpts, sink chan<- *ExchangeCancel, makerAddress []common.Address, feeRecipientAddress []common.Address, orderHash [][32]byte) (event.Subscription, error)
WatchCancel is a free log subscription operation binding the contract event 0x02c310a9a43963ff31a754a4099cc435ed498049687539d72d7818d9b093415c.
Solidity: event Cancel(address indexed makerAddress, address indexed feeRecipientAddress, bytes makerAssetData, bytes takerAssetData, address senderAddress, bytes32 indexed orderHash)
func (*ExchangeFilterer) WatchCancelUpTo ¶
func (_Exchange *ExchangeFilterer) WatchCancelUpTo(opts *bind.WatchOpts, sink chan<- *ExchangeCancelUpTo, makerAddress []common.Address, orderSenderAddress []common.Address) (event.Subscription, error)
WatchCancelUpTo is a free log subscription operation binding the contract event 0x82af639571738f4ebd4268fb0363d8957ebe1bbb9e78dba5ebd69eed39b154f0.
Solidity: event CancelUpTo(address indexed makerAddress, address indexed orderSenderAddress, uint256 orderEpoch)
func (*ExchangeFilterer) WatchFill ¶
func (_Exchange *ExchangeFilterer) WatchFill(opts *bind.WatchOpts, sink chan<- *ExchangeFill, makerAddress []common.Address, feeRecipientAddress []common.Address, orderHash [][32]byte) (event.Subscription, error)
WatchFill is a free log subscription operation binding the contract event 0x6869791f0a34781b29882982cc39e882768cf2c96995c2a110c577c53bc932d5.
Solidity: event Fill(address indexed makerAddress, address indexed feeRecipientAddress, bytes makerAssetData, bytes takerAssetData, bytes makerFeeAssetData, bytes takerFeeAssetData, bytes32 indexed orderHash, address takerAddress, address senderAddress, uint256 makerAssetFilledAmount, uint256 takerAssetFilledAmount, uint256 makerFeePaid, uint256 takerFeePaid, uint256 protocolFeePaid)
func (*ExchangeFilterer) WatchProtocolFeeCollectorAddress ¶
func (_Exchange *ExchangeFilterer) WatchProtocolFeeCollectorAddress(opts *bind.WatchOpts, sink chan<- *ExchangeProtocolFeeCollectorAddress) (event.Subscription, error)
WatchProtocolFeeCollectorAddress is a free log subscription operation binding the contract event 0xe1a5430ebec577336427f40f15822f1f36c5e3509ff209d6db9e6c9e6941cb0b.
Solidity: event ProtocolFeeCollectorAddress(address oldProtocolFeeCollector, address updatedProtocolFeeCollector)
func (*ExchangeFilterer) WatchProtocolFeeMultiplier ¶
func (_Exchange *ExchangeFilterer) WatchProtocolFeeMultiplier(opts *bind.WatchOpts, sink chan<- *ExchangeProtocolFeeMultiplier) (event.Subscription, error)
WatchProtocolFeeMultiplier is a free log subscription operation binding the contract event 0x3a3e76d7a75e198aef1f53137e4f2a8a2ec74e2e9526db8404d08ccc9f1e621d.
Solidity: event ProtocolFeeMultiplier(uint256 oldProtocolFeeMultiplier, uint256 updatedProtocolFeeMultiplier)
func (*ExchangeFilterer) WatchSignatureValidatorApproval ¶
func (_Exchange *ExchangeFilterer) WatchSignatureValidatorApproval(opts *bind.WatchOpts, sink chan<- *ExchangeSignatureValidatorApproval, signerAddress []common.Address, validatorAddress []common.Address) (event.Subscription, error)
WatchSignatureValidatorApproval is a free log subscription operation binding the contract event 0xa8656e308026eeabce8f0bc18048433252318ab80ac79da0b3d3d8697dfba891.
Solidity: event SignatureValidatorApproval(address indexed signerAddress, address indexed validatorAddress, bool isApproved)
func (*ExchangeFilterer) WatchTransactionExecution ¶
func (_Exchange *ExchangeFilterer) WatchTransactionExecution(opts *bind.WatchOpts, sink chan<- *ExchangeTransactionExecution, transactionHash [][32]byte) (event.Subscription, error)
WatchTransactionExecution is a free log subscription operation binding the contract event 0xa4a7329f1dd821363067e07d359e347b4af9b1efe4b6cccf13240228af3c800d.
Solidity: event TransactionExecution(bytes32 indexed transactionHash)
type ExchangeProtocolFeeCollectorAddress ¶
type ExchangeProtocolFeeCollectorAddress struct { OldProtocolFeeCollector common.Address UpdatedProtocolFeeCollector common.Address Raw types.Log // Blockchain specific contextual infos }
ExchangeProtocolFeeCollectorAddress represents a ProtocolFeeCollectorAddress event raised by the Exchange contract.
type ExchangeProtocolFeeCollectorAddressIterator ¶
type ExchangeProtocolFeeCollectorAddressIterator struct { Event *ExchangeProtocolFeeCollectorAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeProtocolFeeCollectorAddressIterator is returned from FilterProtocolFeeCollectorAddress and is used to iterate over the raw logs and unpacked data for ProtocolFeeCollectorAddress events raised by the Exchange contract.
func (*ExchangeProtocolFeeCollectorAddressIterator) Close ¶
func (it *ExchangeProtocolFeeCollectorAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeProtocolFeeCollectorAddressIterator) Error ¶
func (it *ExchangeProtocolFeeCollectorAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeProtocolFeeCollectorAddressIterator) Next ¶
func (it *ExchangeProtocolFeeCollectorAddressIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeProtocolFeeMultiplier ¶
type ExchangeProtocolFeeMultiplier struct { OldProtocolFeeMultiplier *big.Int UpdatedProtocolFeeMultiplier *big.Int Raw types.Log // Blockchain specific contextual infos }
ExchangeProtocolFeeMultiplier represents a ProtocolFeeMultiplier event raised by the Exchange contract.
type ExchangeProtocolFeeMultiplierIterator ¶
type ExchangeProtocolFeeMultiplierIterator struct { Event *ExchangeProtocolFeeMultiplier // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeProtocolFeeMultiplierIterator is returned from FilterProtocolFeeMultiplier and is used to iterate over the raw logs and unpacked data for ProtocolFeeMultiplier events raised by the Exchange contract.
func (*ExchangeProtocolFeeMultiplierIterator) Close ¶
func (it *ExchangeProtocolFeeMultiplierIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeProtocolFeeMultiplierIterator) Error ¶
func (it *ExchangeProtocolFeeMultiplierIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeProtocolFeeMultiplierIterator) Next ¶
func (it *ExchangeProtocolFeeMultiplierIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeRaw ¶
type ExchangeRaw struct {
Contract *Exchange // Generic contract binding to access the raw methods on
}
ExchangeRaw is an auto generated low-level Go binding around an Klaytn contract.
func (*ExchangeRaw) Call ¶
func (_Exchange *ExchangeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ExchangeRaw) Transact ¶
func (_Exchange *ExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExchangeRaw) Transfer ¶
func (_Exchange *ExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ExchangeSession ¶
type ExchangeSession struct { Contract *Exchange // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ExchangeSession is an auto generated Go binding around an Klaytn contract, with pre-set call and transact options.
func (*ExchangeSession) AllowedValidators ¶
func (_Exchange *ExchangeSession) AllowedValidators(arg0 common.Address, arg1 common.Address) (bool, error)
AllowedValidators is a free data retrieval call binding the contract method 0x7b8e3514.
Solidity: function allowedValidators(address , address ) constant returns(bool)
func (*ExchangeSession) BatchCancelOrders ¶
func (_Exchange *ExchangeSession) BatchCancelOrders(orders []Struct0) (*types.Transaction, error)
BatchCancelOrders is a paid mutator transaction binding the contract method 0xdedfc1f1.
Solidity: function batchCancelOrders([]Struct0 orders) returns()
func (*ExchangeSession) BatchExecuteTransactions ¶
func (_Exchange *ExchangeSession) BatchExecuteTransactions(transactions []Struct3, signatures [][]byte) (*types.Transaction, error)
BatchExecuteTransactions is a paid mutator transaction binding the contract method 0xfc74896d.
Solidity: function batchExecuteTransactions([]Struct3 transactions, bytes[] signatures) returns(bytes[])
func (*ExchangeSession) BatchFillOrKillOrders ¶
func (_Exchange *ExchangeSession) BatchFillOrKillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrKillOrders is a paid mutator transaction binding the contract method 0xbeee2e14.
Solidity: function batchFillOrKillOrders([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeSession) BatchFillOrders ¶
func (_Exchange *ExchangeSession) BatchFillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrders is a paid mutator transaction binding the contract method 0x9694a402.
Solidity: function batchFillOrders([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeSession) BatchFillOrdersNoThrow ¶
func (_Exchange *ExchangeSession) BatchFillOrdersNoThrow(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrdersNoThrow is a paid mutator transaction binding the contract method 0x8ea8dfe4.
Solidity: function batchFillOrdersNoThrow([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeSession) BatchMatchOrders ¶
func (_Exchange *ExchangeSession) BatchMatchOrders(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, rightSignatures [][]byte) (*types.Transaction, error)
BatchMatchOrders is a paid mutator transaction binding the contract method 0x6fcf3e9e.
Solidity: function batchMatchOrders([]Struct0 leftOrders, []Struct0 rightOrders, bytes[] leftSignatures, bytes[] rightSignatures) returns(Struct4 batchMatchedFillResults)
func (*ExchangeSession) BatchMatchOrdersWithMaximalFill ¶
func (_Exchange *ExchangeSession) BatchMatchOrdersWithMaximalFill(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, rightSignatures [][]byte) (*types.Transaction, error)
BatchMatchOrdersWithMaximalFill is a paid mutator transaction binding the contract method 0x6a1a80fd.
Solidity: function batchMatchOrdersWithMaximalFill([]Struct0 leftOrders, []Struct0 rightOrders, bytes[] leftSignatures, bytes[] rightSignatures) returns(Struct4 batchMatchedFillResults)
func (*ExchangeSession) CancelOrder ¶
func (_Exchange *ExchangeSession) CancelOrder(order Struct0) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x2da62987.
Solidity: function cancelOrder(Struct0 order) returns()
func (*ExchangeSession) CancelOrdersUpTo ¶
func (_Exchange *ExchangeSession) CancelOrdersUpTo(targetOrderEpoch *big.Int) (*types.Transaction, error)
CancelOrdersUpTo is a paid mutator transaction binding the contract method 0x4f9559b1.
Solidity: function cancelOrdersUpTo(uint256 targetOrderEpoch) returns()
func (*ExchangeSession) Cancelled ¶
func (_Exchange *ExchangeSession) Cancelled(arg0 [32]byte) (bool, error)
Cancelled is a free data retrieval call binding the contract method 0x2ac12622.
Solidity: function cancelled(bytes32 ) constant returns(bool)
func (*ExchangeSession) CurrentContextAddress ¶
func (_Exchange *ExchangeSession) CurrentContextAddress() (common.Address, error)
CurrentContextAddress is a free data retrieval call binding the contract method 0xeea086ba.
Solidity: function currentContextAddress() constant returns(address)
func (*ExchangeSession) EIP1271MAGICVALUE ¶
func (_Exchange *ExchangeSession) EIP1271MAGICVALUE() ([4]byte, error)
EIP1271MAGICVALUE is a free data retrieval call binding the contract method 0xdd885e2d.
Solidity: function EIP1271_MAGIC_VALUE() constant returns(bytes4)
func (*ExchangeSession) EIP712EXCHANGEDOMAINHASH ¶
func (_Exchange *ExchangeSession) EIP712EXCHANGEDOMAINHASH() ([32]byte, error)
EIP712EXCHANGEDOMAINHASH is a free data retrieval call binding the contract method 0xc26cfecd.
Solidity: function EIP712_EXCHANGE_DOMAIN_HASH() constant returns(bytes32)
func (*ExchangeSession) ExecuteTransaction ¶
func (_Exchange *ExchangeSession) ExecuteTransaction(transaction Struct3, signature []byte) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0x2280c910.
Solidity: function executeTransaction(Struct3 transaction, bytes signature) returns(bytes)
func (*ExchangeSession) FillOrKillOrder ¶
func (_Exchange *ExchangeSession) FillOrKillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
FillOrKillOrder is a paid mutator transaction binding the contract method 0xe14b58c4.
Solidity: function fillOrKillOrder(Struct0 order, uint256 takerAssetFillAmount, bytes signature) returns(Struct5 fillResults)
func (*ExchangeSession) FillOrder ¶
func (_Exchange *ExchangeSession) FillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0x9b44d556.
Solidity: function fillOrder(Struct0 order, uint256 takerAssetFillAmount, bytes signature) returns(Struct5 fillResults)
func (*ExchangeSession) Filled ¶
func (_Exchange *ExchangeSession) Filled(arg0 [32]byte) (*big.Int, error)
Filled is a free data retrieval call binding the contract method 0x288cdc91.
Solidity: function filled(bytes32 ) constant returns(uint256)
func (*ExchangeSession) GetAssetProxy ¶
func (_Exchange *ExchangeSession) GetAssetProxy(assetProxyId [4]byte) (common.Address, error)
GetAssetProxy is a free data retrieval call binding the contract method 0x60704108.
Solidity: function getAssetProxy(bytes4 assetProxyId) constant returns(address)
func (*ExchangeSession) GetOrderInfo ¶
func (_Exchange *ExchangeSession) GetOrderInfo(order Struct0) (Struct5, error)
GetOrderInfo is a free data retrieval call binding the contract method 0x9d3fa4b9.
Solidity: function getOrderInfo(Struct0 order) constant returns(Struct5 orderInfo)
func (*ExchangeSession) IsValidHashSignature ¶
func (_Exchange *ExchangeSession) IsValidHashSignature(hash [32]byte, signerAddress common.Address, signature []byte) (bool, error)
IsValidHashSignature is a free data retrieval call binding the contract method 0x8171c407.
Solidity: function isValidHashSignature(bytes32 hash, address signerAddress, bytes signature) constant returns(bool isValid)
func (*ExchangeSession) IsValidOrderSignature ¶
func (_Exchange *ExchangeSession) IsValidOrderSignature(order Struct0, signature []byte) (bool, error)
IsValidOrderSignature is a free data retrieval call binding the contract method 0xa12dcc6f.
Solidity: function isValidOrderSignature(Struct0 order, bytes signature) constant returns(bool isValid)
func (*ExchangeSession) IsValidTransactionSignature ¶
func (_Exchange *ExchangeSession) IsValidTransactionSignature(transaction Struct3, signature []byte) (bool, error)
IsValidTransactionSignature is a free data retrieval call binding the contract method 0x8d45cd23.
Solidity: function isValidTransactionSignature(Struct3 transaction, bytes signature) constant returns(bool isValid)
func (*ExchangeSession) MarketBuyOrdersFillOrKill ¶
func (_Exchange *ExchangeSession) MarketBuyOrdersFillOrKill(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketBuyOrdersFillOrKill is a paid mutator transaction binding the contract method 0x8bc8efb3.
Solidity: function marketBuyOrdersFillOrKill([]Struct0 orders, uint256 makerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeSession) MarketBuyOrdersNoThrow ¶
func (_Exchange *ExchangeSession) MarketBuyOrdersNoThrow(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketBuyOrdersNoThrow is a paid mutator transaction binding the contract method 0x78d29ac1.
Solidity: function marketBuyOrdersNoThrow([]Struct0 orders, uint256 makerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeSession) MarketSellOrdersFillOrKill ¶
func (_Exchange *ExchangeSession) MarketSellOrdersFillOrKill(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketSellOrdersFillOrKill is a paid mutator transaction binding the contract method 0xa6c3bf33.
Solidity: function marketSellOrdersFillOrKill([]Struct0 orders, uint256 takerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeSession) MarketSellOrdersNoThrow ¶
func (_Exchange *ExchangeSession) MarketSellOrdersNoThrow(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketSellOrdersNoThrow is a paid mutator transaction binding the contract method 0x369da099.
Solidity: function marketSellOrdersNoThrow([]Struct0 orders, uint256 takerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeSession) MatchOrders ¶
func (_Exchange *ExchangeSession) MatchOrders(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, rightSignature []byte) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0x88ec79fb.
Solidity: function matchOrders(Struct0 leftOrder, Struct0 rightOrder, bytes leftSignature, bytes rightSignature) returns(Struct2 matchedFillResults)
func (*ExchangeSession) MatchOrdersWithMaximalFill ¶
func (_Exchange *ExchangeSession) MatchOrdersWithMaximalFill(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, rightSignature []byte) (*types.Transaction, error)
MatchOrdersWithMaximalFill is a paid mutator transaction binding the contract method 0xb718e292.
Solidity: function matchOrdersWithMaximalFill(Struct0 leftOrder, Struct0 rightOrder, bytes leftSignature, bytes rightSignature) returns(Struct2 matchedFillResults)
func (*ExchangeSession) OrderEpoch ¶
func (_Exchange *ExchangeSession) OrderEpoch(arg0 common.Address, arg1 common.Address) (*big.Int, error)
OrderEpoch is a free data retrieval call binding the contract method 0xd9bfa73e.
Solidity: function orderEpoch(address , address ) constant returns(uint256)
func (*ExchangeSession) Owner ¶
func (_Exchange *ExchangeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ExchangeSession) PreSign ¶
func (_Exchange *ExchangeSession) PreSign(hash [32]byte) (*types.Transaction, error)
PreSign is a paid mutator transaction binding the contract method 0x46c02d7a.
Solidity: function preSign(bytes32 hash) returns()
func (*ExchangeSession) PreSigned ¶
PreSigned is a free data retrieval call binding the contract method 0x82c174d0.
Solidity: function preSigned(bytes32 , address ) constant returns(bool)
func (*ExchangeSession) ProtocolFeeCollector ¶
func (_Exchange *ExchangeSession) ProtocolFeeCollector() (common.Address, error)
ProtocolFeeCollector is a free data retrieval call binding the contract method 0x850a1501.
Solidity: function protocolFeeCollector() constant returns(address)
func (*ExchangeSession) ProtocolFeeMultiplier ¶
func (_Exchange *ExchangeSession) ProtocolFeeMultiplier() (*big.Int, error)
ProtocolFeeMultiplier is a free data retrieval call binding the contract method 0x1ce4c78b.
Solidity: function protocolFeeMultiplier() constant returns(uint256)
func (*ExchangeSession) RegisterAssetProxy ¶
func (_Exchange *ExchangeSession) RegisterAssetProxy(assetProxy common.Address) (*types.Transaction, error)
RegisterAssetProxy is a paid mutator transaction binding the contract method 0xc585bb93.
Solidity: function registerAssetProxy(address assetProxy) returns()
func (*ExchangeSession) SetProtocolFeeCollectorAddress ¶
func (_Exchange *ExchangeSession) SetProtocolFeeCollectorAddress(updatedProtocolFeeCollector common.Address) (*types.Transaction, error)
SetProtocolFeeCollectorAddress is a paid mutator transaction binding the contract method 0xc0fa16cc.
Solidity: function setProtocolFeeCollectorAddress(address updatedProtocolFeeCollector) returns()
func (*ExchangeSession) SetProtocolFeeMultiplier ¶
func (_Exchange *ExchangeSession) SetProtocolFeeMultiplier(updatedProtocolFeeMultiplier *big.Int) (*types.Transaction, error)
SetProtocolFeeMultiplier is a paid mutator transaction binding the contract method 0x9331c742.
Solidity: function setProtocolFeeMultiplier(uint256 updatedProtocolFeeMultiplier) returns()
func (*ExchangeSession) SetSignatureValidatorApproval ¶
func (_Exchange *ExchangeSession) SetSignatureValidatorApproval(validatorAddress common.Address, approval bool) (*types.Transaction, error)
SetSignatureValidatorApproval is a paid mutator transaction binding the contract method 0x77fcce68.
Solidity: function setSignatureValidatorApproval(address validatorAddress, bool approval) returns()
func (*ExchangeSession) SimulateDispatchTransferFromCalls ¶
func (_Exchange *ExchangeSession) SimulateDispatchTransferFromCalls(assetData [][]byte, fromAddresses []common.Address, toAddresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
SimulateDispatchTransferFromCalls is a paid mutator transaction binding the contract method 0xb04fbddd.
Solidity: function simulateDispatchTransferFromCalls(bytes[] assetData, address[] fromAddresses, address[] toAddresses, uint256[] amounts) returns()
func (*ExchangeSession) TransactionsExecuted ¶
func (_Exchange *ExchangeSession) TransactionsExecuted(arg0 [32]byte) (bool, error)
TransactionsExecuted is a free data retrieval call binding the contract method 0x0228e168.
Solidity: function transactionsExecuted(bytes32 ) constant returns(bool)
func (*ExchangeSession) TransferOwnership ¶
func (_Exchange *ExchangeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ExchangeSignatureValidatorApproval ¶
type ExchangeSignatureValidatorApproval struct { SignerAddress common.Address ValidatorAddress common.Address IsApproved bool Raw types.Log // Blockchain specific contextual infos }
ExchangeSignatureValidatorApproval represents a SignatureValidatorApproval event raised by the Exchange contract.
type ExchangeSignatureValidatorApprovalIterator ¶
type ExchangeSignatureValidatorApprovalIterator struct { Event *ExchangeSignatureValidatorApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeSignatureValidatorApprovalIterator is returned from FilterSignatureValidatorApproval and is used to iterate over the raw logs and unpacked data for SignatureValidatorApproval events raised by the Exchange contract.
func (*ExchangeSignatureValidatorApprovalIterator) Close ¶
func (it *ExchangeSignatureValidatorApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeSignatureValidatorApprovalIterator) Error ¶
func (it *ExchangeSignatureValidatorApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeSignatureValidatorApprovalIterator) Next ¶
func (it *ExchangeSignatureValidatorApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeTransactionExecution ¶
type ExchangeTransactionExecution struct { TransactionHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ExchangeTransactionExecution represents a TransactionExecution event raised by the Exchange contract.
type ExchangeTransactionExecutionIterator ¶
type ExchangeTransactionExecutionIterator struct { Event *ExchangeTransactionExecution // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ExchangeTransactionExecutionIterator is returned from FilterTransactionExecution and is used to iterate over the raw logs and unpacked data for TransactionExecution events raised by the Exchange contract.
func (*ExchangeTransactionExecutionIterator) Close ¶
func (it *ExchangeTransactionExecutionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ExchangeTransactionExecutionIterator) Error ¶
func (it *ExchangeTransactionExecutionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ExchangeTransactionExecutionIterator) Next ¶
func (it *ExchangeTransactionExecutionIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type ExchangeTransactor ¶
type ExchangeTransactor struct {
// contains filtered or unexported fields
}
ExchangeTransactor is an auto generated write-only Go binding around an Klaytn contract.
func NewExchangeTransactor ¶
func NewExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*ExchangeTransactor, error)
NewExchangeTransactor creates a new write-only instance of Exchange, bound to a specific deployed contract.
func (*ExchangeTransactor) BatchCancelOrders ¶
func (_Exchange *ExchangeTransactor) BatchCancelOrders(opts *bind.TransactOpts, orders []Struct0) (*types.Transaction, error)
BatchCancelOrders is a paid mutator transaction binding the contract method 0xdedfc1f1.
Solidity: function batchCancelOrders([]Struct0 orders) returns()
func (*ExchangeTransactor) BatchExecuteTransactions ¶
func (_Exchange *ExchangeTransactor) BatchExecuteTransactions(opts *bind.TransactOpts, transactions []Struct3, signatures [][]byte) (*types.Transaction, error)
BatchExecuteTransactions is a paid mutator transaction binding the contract method 0xfc74896d.
Solidity: function batchExecuteTransactions([]Struct3 transactions, bytes[] signatures) returns(bytes[])
func (*ExchangeTransactor) BatchFillOrKillOrders ¶
func (_Exchange *ExchangeTransactor) BatchFillOrKillOrders(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrKillOrders is a paid mutator transaction binding the contract method 0xbeee2e14.
Solidity: function batchFillOrKillOrders([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeTransactor) BatchFillOrders ¶
func (_Exchange *ExchangeTransactor) BatchFillOrders(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrders is a paid mutator transaction binding the contract method 0x9694a402.
Solidity: function batchFillOrders([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeTransactor) BatchFillOrdersNoThrow ¶
func (_Exchange *ExchangeTransactor) BatchFillOrdersNoThrow(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrdersNoThrow is a paid mutator transaction binding the contract method 0x8ea8dfe4.
Solidity: function batchFillOrdersNoThrow([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeTransactor) BatchMatchOrders ¶
func (_Exchange *ExchangeTransactor) BatchMatchOrders(opts *bind.TransactOpts, leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, rightSignatures [][]byte) (*types.Transaction, error)
BatchMatchOrders is a paid mutator transaction binding the contract method 0x6fcf3e9e.
Solidity: function batchMatchOrders([]Struct0 leftOrders, []Struct0 rightOrders, bytes[] leftSignatures, bytes[] rightSignatures) returns(Struct4 batchMatchedFillResults)
func (*ExchangeTransactor) BatchMatchOrdersWithMaximalFill ¶
func (_Exchange *ExchangeTransactor) BatchMatchOrdersWithMaximalFill(opts *bind.TransactOpts, leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, rightSignatures [][]byte) (*types.Transaction, error)
BatchMatchOrdersWithMaximalFill is a paid mutator transaction binding the contract method 0x6a1a80fd.
Solidity: function batchMatchOrdersWithMaximalFill([]Struct0 leftOrders, []Struct0 rightOrders, bytes[] leftSignatures, bytes[] rightSignatures) returns(Struct4 batchMatchedFillResults)
func (*ExchangeTransactor) CancelOrder ¶
func (_Exchange *ExchangeTransactor) CancelOrder(opts *bind.TransactOpts, order Struct0) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x2da62987.
Solidity: function cancelOrder(Struct0 order) returns()
func (*ExchangeTransactor) CancelOrdersUpTo ¶
func (_Exchange *ExchangeTransactor) CancelOrdersUpTo(opts *bind.TransactOpts, targetOrderEpoch *big.Int) (*types.Transaction, error)
CancelOrdersUpTo is a paid mutator transaction binding the contract method 0x4f9559b1.
Solidity: function cancelOrdersUpTo(uint256 targetOrderEpoch) returns()
func (*ExchangeTransactor) ExecuteTransaction ¶
func (_Exchange *ExchangeTransactor) ExecuteTransaction(opts *bind.TransactOpts, transaction Struct3, signature []byte) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0x2280c910.
Solidity: function executeTransaction(Struct3 transaction, bytes signature) returns(bytes)
func (*ExchangeTransactor) FillOrKillOrder ¶
func (_Exchange *ExchangeTransactor) FillOrKillOrder(opts *bind.TransactOpts, order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
FillOrKillOrder is a paid mutator transaction binding the contract method 0xe14b58c4.
Solidity: function fillOrKillOrder(Struct0 order, uint256 takerAssetFillAmount, bytes signature) returns(Struct5 fillResults)
func (*ExchangeTransactor) FillOrder ¶
func (_Exchange *ExchangeTransactor) FillOrder(opts *bind.TransactOpts, order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0x9b44d556.
Solidity: function fillOrder(Struct0 order, uint256 takerAssetFillAmount, bytes signature) returns(Struct5 fillResults)
func (*ExchangeTransactor) MarketBuyOrdersFillOrKill ¶
func (_Exchange *ExchangeTransactor) MarketBuyOrdersFillOrKill(opts *bind.TransactOpts, orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketBuyOrdersFillOrKill is a paid mutator transaction binding the contract method 0x8bc8efb3.
Solidity: function marketBuyOrdersFillOrKill([]Struct0 orders, uint256 makerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactor) MarketBuyOrdersNoThrow ¶
func (_Exchange *ExchangeTransactor) MarketBuyOrdersNoThrow(opts *bind.TransactOpts, orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketBuyOrdersNoThrow is a paid mutator transaction binding the contract method 0x78d29ac1.
Solidity: function marketBuyOrdersNoThrow([]Struct0 orders, uint256 makerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactor) MarketSellOrdersFillOrKill ¶
func (_Exchange *ExchangeTransactor) MarketSellOrdersFillOrKill(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketSellOrdersFillOrKill is a paid mutator transaction binding the contract method 0xa6c3bf33.
Solidity: function marketSellOrdersFillOrKill([]Struct0 orders, uint256 takerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactor) MarketSellOrdersNoThrow ¶
func (_Exchange *ExchangeTransactor) MarketSellOrdersNoThrow(opts *bind.TransactOpts, orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketSellOrdersNoThrow is a paid mutator transaction binding the contract method 0x369da099.
Solidity: function marketSellOrdersNoThrow([]Struct0 orders, uint256 takerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactor) MatchOrders ¶
func (_Exchange *ExchangeTransactor) MatchOrders(opts *bind.TransactOpts, leftOrder Struct0, rightOrder Struct0, leftSignature []byte, rightSignature []byte) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0x88ec79fb.
Solidity: function matchOrders(Struct0 leftOrder, Struct0 rightOrder, bytes leftSignature, bytes rightSignature) returns(Struct2 matchedFillResults)
func (*ExchangeTransactor) MatchOrdersWithMaximalFill ¶
func (_Exchange *ExchangeTransactor) MatchOrdersWithMaximalFill(opts *bind.TransactOpts, leftOrder Struct0, rightOrder Struct0, leftSignature []byte, rightSignature []byte) (*types.Transaction, error)
MatchOrdersWithMaximalFill is a paid mutator transaction binding the contract method 0xb718e292.
Solidity: function matchOrdersWithMaximalFill(Struct0 leftOrder, Struct0 rightOrder, bytes leftSignature, bytes rightSignature) returns(Struct2 matchedFillResults)
func (*ExchangeTransactor) PreSign ¶
func (_Exchange *ExchangeTransactor) PreSign(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
PreSign is a paid mutator transaction binding the contract method 0x46c02d7a.
Solidity: function preSign(bytes32 hash) returns()
func (*ExchangeTransactor) RegisterAssetProxy ¶
func (_Exchange *ExchangeTransactor) RegisterAssetProxy(opts *bind.TransactOpts, assetProxy common.Address) (*types.Transaction, error)
RegisterAssetProxy is a paid mutator transaction binding the contract method 0xc585bb93.
Solidity: function registerAssetProxy(address assetProxy) returns()
func (*ExchangeTransactor) SetProtocolFeeCollectorAddress ¶
func (_Exchange *ExchangeTransactor) SetProtocolFeeCollectorAddress(opts *bind.TransactOpts, updatedProtocolFeeCollector common.Address) (*types.Transaction, error)
SetProtocolFeeCollectorAddress is a paid mutator transaction binding the contract method 0xc0fa16cc.
Solidity: function setProtocolFeeCollectorAddress(address updatedProtocolFeeCollector) returns()
func (*ExchangeTransactor) SetProtocolFeeMultiplier ¶
func (_Exchange *ExchangeTransactor) SetProtocolFeeMultiplier(opts *bind.TransactOpts, updatedProtocolFeeMultiplier *big.Int) (*types.Transaction, error)
SetProtocolFeeMultiplier is a paid mutator transaction binding the contract method 0x9331c742.
Solidity: function setProtocolFeeMultiplier(uint256 updatedProtocolFeeMultiplier) returns()
func (*ExchangeTransactor) SetSignatureValidatorApproval ¶
func (_Exchange *ExchangeTransactor) SetSignatureValidatorApproval(opts *bind.TransactOpts, validatorAddress common.Address, approval bool) (*types.Transaction, error)
SetSignatureValidatorApproval is a paid mutator transaction binding the contract method 0x77fcce68.
Solidity: function setSignatureValidatorApproval(address validatorAddress, bool approval) returns()
func (*ExchangeTransactor) SimulateDispatchTransferFromCalls ¶
func (_Exchange *ExchangeTransactor) SimulateDispatchTransferFromCalls(opts *bind.TransactOpts, assetData [][]byte, fromAddresses []common.Address, toAddresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
SimulateDispatchTransferFromCalls is a paid mutator transaction binding the contract method 0xb04fbddd.
Solidity: function simulateDispatchTransferFromCalls(bytes[] assetData, address[] fromAddresses, address[] toAddresses, uint256[] amounts) returns()
func (*ExchangeTransactor) TransferOwnership ¶
func (_Exchange *ExchangeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ExchangeTransactorRaw ¶
type ExchangeTransactorRaw struct {
Contract *ExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
ExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Klaytn contract.
func (*ExchangeTransactorRaw) Transact ¶
func (_Exchange *ExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ExchangeTransactorRaw) Transfer ¶
func (_Exchange *ExchangeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ExchangeTransactorSession ¶
type ExchangeTransactorSession struct { Contract *ExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ExchangeTransactorSession is an auto generated write-only Go binding around an Klaytn contract, with pre-set transact options.
func (*ExchangeTransactorSession) BatchCancelOrders ¶
func (_Exchange *ExchangeTransactorSession) BatchCancelOrders(orders []Struct0) (*types.Transaction, error)
BatchCancelOrders is a paid mutator transaction binding the contract method 0xdedfc1f1.
Solidity: function batchCancelOrders([]Struct0 orders) returns()
func (*ExchangeTransactorSession) BatchExecuteTransactions ¶
func (_Exchange *ExchangeTransactorSession) BatchExecuteTransactions(transactions []Struct3, signatures [][]byte) (*types.Transaction, error)
BatchExecuteTransactions is a paid mutator transaction binding the contract method 0xfc74896d.
Solidity: function batchExecuteTransactions([]Struct3 transactions, bytes[] signatures) returns(bytes[])
func (*ExchangeTransactorSession) BatchFillOrKillOrders ¶
func (_Exchange *ExchangeTransactorSession) BatchFillOrKillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrKillOrders is a paid mutator transaction binding the contract method 0xbeee2e14.
Solidity: function batchFillOrKillOrders([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeTransactorSession) BatchFillOrders ¶
func (_Exchange *ExchangeTransactorSession) BatchFillOrders(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrders is a paid mutator transaction binding the contract method 0x9694a402.
Solidity: function batchFillOrders([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeTransactorSession) BatchFillOrdersNoThrow ¶
func (_Exchange *ExchangeTransactorSession) BatchFillOrdersNoThrow(orders []Struct0, takerAssetFillAmounts []*big.Int, signatures [][]byte) (*types.Transaction, error)
BatchFillOrdersNoThrow is a paid mutator transaction binding the contract method 0x8ea8dfe4.
Solidity: function batchFillOrdersNoThrow([]Struct0 orders, uint256[] takerAssetFillAmounts, bytes[] signatures) returns([]Struct5 fillResults)
func (*ExchangeTransactorSession) BatchMatchOrders ¶
func (_Exchange *ExchangeTransactorSession) BatchMatchOrders(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, rightSignatures [][]byte) (*types.Transaction, error)
BatchMatchOrders is a paid mutator transaction binding the contract method 0x6fcf3e9e.
Solidity: function batchMatchOrders([]Struct0 leftOrders, []Struct0 rightOrders, bytes[] leftSignatures, bytes[] rightSignatures) returns(Struct4 batchMatchedFillResults)
func (*ExchangeTransactorSession) BatchMatchOrdersWithMaximalFill ¶
func (_Exchange *ExchangeTransactorSession) BatchMatchOrdersWithMaximalFill(leftOrders []Struct0, rightOrders []Struct0, leftSignatures [][]byte, rightSignatures [][]byte) (*types.Transaction, error)
BatchMatchOrdersWithMaximalFill is a paid mutator transaction binding the contract method 0x6a1a80fd.
Solidity: function batchMatchOrdersWithMaximalFill([]Struct0 leftOrders, []Struct0 rightOrders, bytes[] leftSignatures, bytes[] rightSignatures) returns(Struct4 batchMatchedFillResults)
func (*ExchangeTransactorSession) CancelOrder ¶
func (_Exchange *ExchangeTransactorSession) CancelOrder(order Struct0) (*types.Transaction, error)
CancelOrder is a paid mutator transaction binding the contract method 0x2da62987.
Solidity: function cancelOrder(Struct0 order) returns()
func (*ExchangeTransactorSession) CancelOrdersUpTo ¶
func (_Exchange *ExchangeTransactorSession) CancelOrdersUpTo(targetOrderEpoch *big.Int) (*types.Transaction, error)
CancelOrdersUpTo is a paid mutator transaction binding the contract method 0x4f9559b1.
Solidity: function cancelOrdersUpTo(uint256 targetOrderEpoch) returns()
func (*ExchangeTransactorSession) ExecuteTransaction ¶
func (_Exchange *ExchangeTransactorSession) ExecuteTransaction(transaction Struct3, signature []byte) (*types.Transaction, error)
ExecuteTransaction is a paid mutator transaction binding the contract method 0x2280c910.
Solidity: function executeTransaction(Struct3 transaction, bytes signature) returns(bytes)
func (*ExchangeTransactorSession) FillOrKillOrder ¶
func (_Exchange *ExchangeTransactorSession) FillOrKillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
FillOrKillOrder is a paid mutator transaction binding the contract method 0xe14b58c4.
Solidity: function fillOrKillOrder(Struct0 order, uint256 takerAssetFillAmount, bytes signature) returns(Struct5 fillResults)
func (*ExchangeTransactorSession) FillOrder ¶
func (_Exchange *ExchangeTransactorSession) FillOrder(order Struct0, takerAssetFillAmount *big.Int, signature []byte) (*types.Transaction, error)
FillOrder is a paid mutator transaction binding the contract method 0x9b44d556.
Solidity: function fillOrder(Struct0 order, uint256 takerAssetFillAmount, bytes signature) returns(Struct5 fillResults)
func (*ExchangeTransactorSession) MarketBuyOrdersFillOrKill ¶
func (_Exchange *ExchangeTransactorSession) MarketBuyOrdersFillOrKill(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketBuyOrdersFillOrKill is a paid mutator transaction binding the contract method 0x8bc8efb3.
Solidity: function marketBuyOrdersFillOrKill([]Struct0 orders, uint256 makerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactorSession) MarketBuyOrdersNoThrow ¶
func (_Exchange *ExchangeTransactorSession) MarketBuyOrdersNoThrow(orders []Struct0, makerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketBuyOrdersNoThrow is a paid mutator transaction binding the contract method 0x78d29ac1.
Solidity: function marketBuyOrdersNoThrow([]Struct0 orders, uint256 makerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactorSession) MarketSellOrdersFillOrKill ¶
func (_Exchange *ExchangeTransactorSession) MarketSellOrdersFillOrKill(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketSellOrdersFillOrKill is a paid mutator transaction binding the contract method 0xa6c3bf33.
Solidity: function marketSellOrdersFillOrKill([]Struct0 orders, uint256 takerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactorSession) MarketSellOrdersNoThrow ¶
func (_Exchange *ExchangeTransactorSession) MarketSellOrdersNoThrow(orders []Struct0, takerAssetFillAmount *big.Int, signatures [][]byte) (*types.Transaction, error)
MarketSellOrdersNoThrow is a paid mutator transaction binding the contract method 0x369da099.
Solidity: function marketSellOrdersNoThrow([]Struct0 orders, uint256 takerAssetFillAmount, bytes[] signatures) returns(Struct5 fillResults)
func (*ExchangeTransactorSession) MatchOrders ¶
func (_Exchange *ExchangeTransactorSession) MatchOrders(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, rightSignature []byte) (*types.Transaction, error)
MatchOrders is a paid mutator transaction binding the contract method 0x88ec79fb.
Solidity: function matchOrders(Struct0 leftOrder, Struct0 rightOrder, bytes leftSignature, bytes rightSignature) returns(Struct2 matchedFillResults)
func (*ExchangeTransactorSession) MatchOrdersWithMaximalFill ¶
func (_Exchange *ExchangeTransactorSession) MatchOrdersWithMaximalFill(leftOrder Struct0, rightOrder Struct0, leftSignature []byte, rightSignature []byte) (*types.Transaction, error)
MatchOrdersWithMaximalFill is a paid mutator transaction binding the contract method 0xb718e292.
Solidity: function matchOrdersWithMaximalFill(Struct0 leftOrder, Struct0 rightOrder, bytes leftSignature, bytes rightSignature) returns(Struct2 matchedFillResults)
func (*ExchangeTransactorSession) PreSign ¶
func (_Exchange *ExchangeTransactorSession) PreSign(hash [32]byte) (*types.Transaction, error)
PreSign is a paid mutator transaction binding the contract method 0x46c02d7a.
Solidity: function preSign(bytes32 hash) returns()
func (*ExchangeTransactorSession) RegisterAssetProxy ¶
func (_Exchange *ExchangeTransactorSession) RegisterAssetProxy(assetProxy common.Address) (*types.Transaction, error)
RegisterAssetProxy is a paid mutator transaction binding the contract method 0xc585bb93.
Solidity: function registerAssetProxy(address assetProxy) returns()
func (*ExchangeTransactorSession) SetProtocolFeeCollectorAddress ¶
func (_Exchange *ExchangeTransactorSession) SetProtocolFeeCollectorAddress(updatedProtocolFeeCollector common.Address) (*types.Transaction, error)
SetProtocolFeeCollectorAddress is a paid mutator transaction binding the contract method 0xc0fa16cc.
Solidity: function setProtocolFeeCollectorAddress(address updatedProtocolFeeCollector) returns()
func (*ExchangeTransactorSession) SetProtocolFeeMultiplier ¶
func (_Exchange *ExchangeTransactorSession) SetProtocolFeeMultiplier(updatedProtocolFeeMultiplier *big.Int) (*types.Transaction, error)
SetProtocolFeeMultiplier is a paid mutator transaction binding the contract method 0x9331c742.
Solidity: function setProtocolFeeMultiplier(uint256 updatedProtocolFeeMultiplier) returns()
func (*ExchangeTransactorSession) SetSignatureValidatorApproval ¶
func (_Exchange *ExchangeTransactorSession) SetSignatureValidatorApproval(validatorAddress common.Address, approval bool) (*types.Transaction, error)
SetSignatureValidatorApproval is a paid mutator transaction binding the contract method 0x77fcce68.
Solidity: function setSignatureValidatorApproval(address validatorAddress, bool approval) returns()
func (*ExchangeTransactorSession) SimulateDispatchTransferFromCalls ¶
func (_Exchange *ExchangeTransactorSession) SimulateDispatchTransferFromCalls(assetData [][]byte, fromAddresses []common.Address, toAddresses []common.Address, amounts []*big.Int) (*types.Transaction, error)
SimulateDispatchTransferFromCalls is a paid mutator transaction binding the contract method 0xb04fbddd.
Solidity: function simulateDispatchTransferFromCalls(bytes[] assetData, address[] fromAddresses, address[] toAddresses, uint256[] amounts) returns()
func (*ExchangeTransactorSession) TransferOwnership ¶
func (_Exchange *ExchangeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OrderInfo ¶
type OrderInfo = Struct1
OrderInfo contains the status and filled amount of an order.
type Struct0 ¶
type Struct0 struct { MakerAddress common.Address TakerAddress common.Address FeeRecipientAddress common.Address SenderAddress common.Address MakerAssetAmount *big.Int TakerAssetAmount *big.Int MakerFee *big.Int TakerFee *big.Int ExpirationTimeSeconds *big.Int Salt *big.Int MakerAssetData []byte TakerAssetData []byte MakerFeeAssetData []byte TakerFeeAssetData []byte }
Struct0 is an auto generated low-level Go binding around an user-defined struct.
type Struct2 ¶
type Struct2 struct { Left Struct5 Right Struct5 ProfitInLeftMakerAsset *big.Int ProfitInRightMakerAsset *big.Int }
Struct2 is an auto generated low-level Go binding around an user-defined struct.
type Struct3 ¶
type Struct3 struct { Salt *big.Int ExpirationTimeSeconds *big.Int GasPrice *big.Int SignerAddress common.Address Data []byte }
Struct3 is an auto generated low-level Go binding around an user-defined struct.
type Struct4 ¶
type Struct4 struct { Left []Struct5 Right []Struct5 ProfitInLeftMakerAsset *big.Int ProfitInRightMakerAsset *big.Int }
Struct4 is an auto generated low-level Go binding around an user-defined struct.
type Struct5 ¶
type Struct5 struct { MakerAssetFilledAmount *big.Int TakerAssetFilledAmount *big.Int MakerFeePaid *big.Int TakerFeePaid *big.Int ProtocolFeePaid *big.Int }
Struct5 is an auto generated low-level Go binding around an user-defined struct.
type TrimmedOrder ¶
type TrimmedOrder = Struct0
TrimmedOrder is a 0x order representation expected by the smart contracts.
type WKLAY ¶
type WKLAY struct { WKLAYCaller // Read-only binding to the contract WKLAYTransactor // Write-only binding to the contract WKLAYFilterer // Log filterer for contract events }
WKLAY is an auto generated Go binding around an Klaytn contract.
type WKLAYApproval ¶
type WKLAYApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WKLAYApproval represents a Approval event raised by the WKLAY contract.
type WKLAYApprovalIterator ¶
type WKLAYApprovalIterator struct { Event *WKLAYApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WKLAYApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WKLAY contract.
func (*WKLAYApprovalIterator) Close ¶
func (it *WKLAYApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WKLAYApprovalIterator) Error ¶
func (it *WKLAYApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WKLAYApprovalIterator) Next ¶
func (it *WKLAYApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WKLAYCaller ¶
type WKLAYCaller struct {
// contains filtered or unexported fields
}
WKLAYCaller is an auto generated read-only Go binding around an Klaytn contract.
func NewWKLAYCaller ¶
func NewWKLAYCaller(address common.Address, caller bind.ContractCaller) (*WKLAYCaller, error)
NewWKLAYCaller creates a new read-only instance of WKLAY, bound to a specific deployed contract.
func (*WKLAYCaller) Allowance ¶
func (_WKLAY *WKLAYCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) constant returns(uint256)
func (*WKLAYCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) constant returns(uint256)
func (*WKLAYCaller) Decimals ¶
func (_WKLAY *WKLAYCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*WKLAYCaller) Name ¶
func (_WKLAY *WKLAYCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*WKLAYCaller) Symbol ¶
func (_WKLAY *WKLAYCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*WKLAYCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type WKLAYCallerRaw ¶
type WKLAYCallerRaw struct {
Contract *WKLAYCaller // Generic read-only contract binding to access the raw methods on
}
WKLAYCallerRaw is an auto generated low-level read-only Go binding around an Klaytn contract.
func (*WKLAYCallerRaw) Call ¶
func (_WKLAY *WKLAYCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type WKLAYCallerSession ¶
type WKLAYCallerSession struct { Contract *WKLAYCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WKLAYCallerSession is an auto generated read-only Go binding around an Klaytn contract, with pre-set call options.
func (*WKLAYCallerSession) Allowance ¶
func (_WKLAY *WKLAYCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) constant returns(uint256)
func (*WKLAYCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) constant returns(uint256)
func (*WKLAYCallerSession) Decimals ¶
func (_WKLAY *WKLAYCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*WKLAYCallerSession) Name ¶
func (_WKLAY *WKLAYCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*WKLAYCallerSession) Symbol ¶
func (_WKLAY *WKLAYCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*WKLAYCallerSession) TotalSupply ¶
func (_WKLAY *WKLAYCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type WKLAYDeposit ¶
type WKLAYDeposit struct { Owner common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WKLAYDeposit represents a Deposit event raised by the WKLAY contract.
type WKLAYDepositIterator ¶
type WKLAYDepositIterator struct { Event *WKLAYDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WKLAYDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WKLAY contract.
func (*WKLAYDepositIterator) Close ¶
func (it *WKLAYDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WKLAYDepositIterator) Error ¶
func (it *WKLAYDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WKLAYDepositIterator) Next ¶
func (it *WKLAYDepositIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WKLAYFilterer ¶
type WKLAYFilterer struct {
// contains filtered or unexported fields
}
WKLAYFilterer is an auto generated log filtering Go binding around an Klaytn contract events.
func NewWKLAYFilterer ¶
func NewWKLAYFilterer(address common.Address, filterer bind.ContractFilterer) (*WKLAYFilterer, error)
NewWKLAYFilterer creates a new log filterer instance of WKLAY, bound to a specific deployed contract.
func (*WKLAYFilterer) FilterApproval ¶
func (_WKLAY *WKLAYFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*WKLAYApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*WKLAYFilterer) FilterDeposit ¶
func (_WKLAY *WKLAYFilterer) FilterDeposit(opts *bind.FilterOpts, _owner []common.Address) (*WKLAYDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed _owner, uint256 _value)
func (*WKLAYFilterer) FilterTransfer ¶
func (_WKLAY *WKLAYFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*WKLAYTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*WKLAYFilterer) FilterWithdrawal ¶
func (_WKLAY *WKLAYFilterer) FilterWithdrawal(opts *bind.FilterOpts, _owner []common.Address) (*WKLAYWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed _owner, uint256 _value)
func (*WKLAYFilterer) ParseApproval ¶
func (_WKLAY *WKLAYFilterer) ParseApproval(log types.Log) (*WKLAYApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*WKLAYFilterer) ParseDeposit ¶
func (_WKLAY *WKLAYFilterer) ParseDeposit(log types.Log) (*WKLAYDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed _owner, uint256 _value)
func (*WKLAYFilterer) ParseTransfer ¶
func (_WKLAY *WKLAYFilterer) ParseTransfer(log types.Log) (*WKLAYTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*WKLAYFilterer) ParseWithdrawal ¶
func (_WKLAY *WKLAYFilterer) ParseWithdrawal(log types.Log) (*WKLAYWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed _owner, uint256 _value)
func (*WKLAYFilterer) WatchApproval ¶
func (_WKLAY *WKLAYFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WKLAYApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*WKLAYFilterer) WatchDeposit ¶
func (_WKLAY *WKLAYFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WKLAYDeposit, _owner []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed _owner, uint256 _value)
func (*WKLAYFilterer) WatchTransfer ¶
func (_WKLAY *WKLAYFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WKLAYTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*WKLAYFilterer) WatchWithdrawal ¶
func (_WKLAY *WKLAYFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WKLAYWithdrawal, _owner []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed _owner, uint256 _value)
type WKLAYRaw ¶
type WKLAYRaw struct {
Contract *WKLAY // Generic contract binding to access the raw methods on
}
WKLAYRaw is an auto generated low-level Go binding around an Klaytn contract.
func (*WKLAYRaw) Call ¶
func (_WKLAY *WKLAYRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*WKLAYRaw) Transact ¶
func (_WKLAY *WKLAYRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WKLAYRaw) Transfer ¶
func (_WKLAY *WKLAYRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type WKLAYSession ¶
type WKLAYSession struct { Contract *WKLAY // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WKLAYSession is an auto generated Go binding around an Klaytn contract, with pre-set call and transact options.
func (*WKLAYSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) constant returns(uint256)
func (*WKLAYSession) Approve ¶
func (_WKLAY *WKLAYSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*WKLAYSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) constant returns(uint256)
func (*WKLAYSession) Decimals ¶
func (_WKLAY *WKLAYSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*WKLAYSession) Deposit ¶
func (_WKLAY *WKLAYSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*WKLAYSession) Name ¶
func (_WKLAY *WKLAYSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*WKLAYSession) Symbol ¶
func (_WKLAY *WKLAYSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*WKLAYSession) TotalSupply ¶
func (_WKLAY *WKLAYSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*WKLAYSession) Transfer ¶
func (_WKLAY *WKLAYSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*WKLAYSession) TransferFrom ¶
func (_WKLAY *WKLAYSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
func (*WKLAYSession) Withdraw ¶
func (_WKLAY *WKLAYSession) Withdraw(wad *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 wad) returns()
type WKLAYTransactor ¶
type WKLAYTransactor struct {
// contains filtered or unexported fields
}
WKLAYTransactor is an auto generated write-only Go binding around an Klaytn contract.
func NewWKLAYTransactor ¶
func NewWKLAYTransactor(address common.Address, transactor bind.ContractTransactor) (*WKLAYTransactor, error)
NewWKLAYTransactor creates a new write-only instance of WKLAY, bound to a specific deployed contract.
func (*WKLAYTransactor) Approve ¶
func (_WKLAY *WKLAYTransactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*WKLAYTransactor) Deposit ¶
func (_WKLAY *WKLAYTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*WKLAYTransactor) Transfer ¶
func (_WKLAY *WKLAYTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*WKLAYTransactor) TransferFrom ¶
func (_WKLAY *WKLAYTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
func (*WKLAYTransactor) Withdraw ¶
func (_WKLAY *WKLAYTransactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 wad) returns()
type WKLAYTransactorRaw ¶
type WKLAYTransactorRaw struct {
Contract *WKLAYTransactor // Generic write-only contract binding to access the raw methods on
}
WKLAYTransactorRaw is an auto generated low-level write-only Go binding around an Klaytn contract.
func (*WKLAYTransactorRaw) Transact ¶
func (_WKLAY *WKLAYTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WKLAYTransactorRaw) Transfer ¶
func (_WKLAY *WKLAYTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type WKLAYTransactorSession ¶
type WKLAYTransactorSession struct { Contract *WKLAYTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WKLAYTransactorSession is an auto generated write-only Go binding around an Klaytn contract, with pre-set transact options.
func (*WKLAYTransactorSession) Approve ¶
func (_WKLAY *WKLAYTransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address guy, uint256 wad) returns(bool)
func (*WKLAYTransactorSession) Deposit ¶
func (_WKLAY *WKLAYTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() returns()
func (*WKLAYTransactorSession) Transfer ¶
func (_WKLAY *WKLAYTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address dst, uint256 wad) returns(bool)
func (*WKLAYTransactorSession) TransferFrom ¶
func (_WKLAY *WKLAYTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)
func (*WKLAYTransactorSession) Withdraw ¶
func (_WKLAY *WKLAYTransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 wad) returns()
type WKLAYTransfer ¶
type WKLAYTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WKLAYTransfer represents a Transfer event raised by the WKLAY contract.
type WKLAYTransferIterator ¶
type WKLAYTransferIterator struct { Event *WKLAYTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WKLAYTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WKLAY contract.
func (*WKLAYTransferIterator) Close ¶
func (it *WKLAYTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WKLAYTransferIterator) Error ¶
func (it *WKLAYTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WKLAYTransferIterator) Next ¶
func (it *WKLAYTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type WKLAYWithdrawal ¶
type WKLAYWithdrawal struct { Owner common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WKLAYWithdrawal represents a Withdrawal event raised by the WKLAY contract.
type WKLAYWithdrawalIterator ¶
type WKLAYWithdrawalIterator struct { Event *WKLAYWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WKLAYWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the WKLAY contract.
func (*WKLAYWithdrawalIterator) Close ¶
func (it *WKLAYWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WKLAYWithdrawalIterator) Error ¶
func (it *WKLAYWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WKLAYWithdrawalIterator) Next ¶
func (it *WKLAYWithdrawalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.