contract

package
v7.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CrossChainTestABI = CrossChainTestMetaData.ABI

CrossChainTestABI is the input ABI used to generate the binding from. Deprecated: Use CrossChainTestMetaData.ABI instead.

View Source
var CrossChainTestBin = CrossChainTestMetaData.Bin

CrossChainTestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CrossChainTestMetaData.Bin instead.

View Source
var CrossChainTestMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"CROSS_CHAIN_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"}],\"name\":\"cancelSendToExternal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"increaseBridgeFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610907806100206000396000f3fe60806040526004361061004a5760003560e01c80630b56c1901461004f578063160d7c73146100845780638fefb76514610097578063c79a6b7b146100c5578063f7356475146100d8575b600080fd5b34801561005b57600080fd5b5061006f61006a3660046105fa565b610106565b60405190151581526020015b60405180910390f35b61006f61009236600461065b565b610179565b3480156100a357600080fd5b506100b76100b23660046106eb565b610469565b60405190815260200161007b565b61006f6100d3366004610715565b6104dd565b3480156100e457600080fd5b506100ee61100481565b6040516001600160a01b03909116815260200161007b565b60405162b56c1960e41b815260009061100490630b56c1909061012f90869086906004016107c1565b6020604051808303816000875af115801561014e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017291906107e3565b9392505050565b60006001600160a01b038716156102ab576001600160a01b0387166323b872dd33306101a5888a610805565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156101f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021d91906107e3565b506001600160a01b03871663095ea7b361100461023a8789610805565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a991906107e3565b505b6001600160a01b0387161561039257604051636eb1769f60e11b815230600482015261100460248201526000906001600160a01b0389169063dd62ed3e90604401602060405180830381865afa158015610309573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032d919061082b565b90506103398587610805565b811461038c5760405162461bcd60e51b815260206004820181905260248201527f616c6c6f77616e6365206e6f7420657175616c20616d6f756e74202b2066656560448201526064015b60405180910390fd5b506103ea565b61039c8486610805565b34146103ea5760405162461bcd60e51b815260206004820181905260248201527f6d73672e76616c7565206e6f7420657175616c20616d6f756e74202b206665656044820152606401610383565b60405163160d7c7360e01b81526110049063160d7c7390349061041b908b908b908b908b908b908b90600401610844565b60206040518083038185885af1158015610439573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061045e91906107e3565b979650505050505050565b604051638fefb76560e01b81526001600160a01b03831660048201526024810182905260009061100490638fefb76590604401602060405180830381865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610172919061082b565b60405163c79a6b7b60e01b81526000906110049063c79a6b7b9061050b908890889088908890600401610899565b6020604051808303816000875af115801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e91906107e3565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261057e57600080fd5b813567ffffffffffffffff8082111561059957610599610557565b604051601f8301601f19908116603f011681019082821181831017156105c1576105c1610557565b816040528381528660208588010111156105da57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561060d57600080fd5b823567ffffffffffffffff81111561062457600080fd5b6106308582860161056d565b95602094909401359450505050565b80356001600160a01b038116811461065657600080fd5b919050565b60008060008060008060c0878903121561067457600080fd5b61067d8761063f565b9550602087013567ffffffffffffffff8082111561069a57600080fd5b6106a68a838b0161056d565b965060408901359550606089013594506080890135935060a08901359150808211156106d157600080fd5b506106de89828a0161056d565b9150509295509295509295565b600080604083850312156106fe57600080fd5b6107078361063f565b946020939093013593505050565b6000806000806080858703121561072b57600080fd5b843567ffffffffffffffff81111561074257600080fd5b61074e8782880161056d565b945050602085013592506107646040860161063f565b9396929550929360600135925050565b6000815180845260005b8181101561079a5760208185018101518683018201520161077e565b818111156107ac576000602083870101525b50601f01601f19169290920160200192915050565b6040815260006107d46040830185610774565b90508260208301529392505050565b6000602082840312156107f557600080fd5b8151801515811461017257600080fd5b6000821982111561082657634e487b7160e01b600052601160045260246000fd5b500190565b60006020828403121561083d57600080fd5b5051919050565b6001600160a01b038716815260c06020820181905260009061086890830188610774565b86604084015285606084015284608084015282810360a084015261088c8185610774565b9998505050505050505050565b6080815260006108ac6080830187610774565b6020830195909552506001600160a01b0392909216604083015260609091015291905056fea2646970667358221220980a3a6975c381257440936718113ec604f4c3c71ff8486c0f7144b64d6a1f3864736f6c634300080a0033",
}

CrossChainTestMetaData contains all meta data concerning the CrossChainTest contract.

View Source
var ERC721TokenTestABI = ERC721TokenTestMetaData.ABI

ERC721TokenTestABI is the input ABI used to generate the binding from. Deprecated: Use ERC721TokenTestMetaData.ABI instead.

View Source
var ERC721TokenTestBin = ERC721TokenTestMetaData.Bin

ERC721TokenTestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC721TokenTestMetaData.Bin instead.

View Source
var ERC721TokenTestMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_toTokenId\",\"type\":\"uint256\"}],\"name\":\"BatchMetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"safeMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100e1565b600054610100900460ff161561008e5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116146100df576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051612398620001196000396000818161061d0152818161065d015281816107180152818161075801526107eb01526123986000f3fe60806040526004361061012a5760003560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb46514610313578063b88d4fde14610333578063c87b56dd14610353578063d204c45e14610373578063e985e9c514610393578063f2fde38b146103dc57600080fd5b806370a0823114610296578063715018a6146102b65780638129fc1c146102cb5780638da5cb5b146102e057806395d89b41146102fe57600080fd5b80633659cfe6116100f25780633659cfe61461020057806342842e0e146102205780634f1ef2861461024057806352d1902d146102535780636352211e1461027657600080fd5b806301ffc9a71461012f57806306fdde0314610164578063081812fc14610186578063095ea7b3146101be57806323b872dd146101e0575b600080fd5b34801561013b57600080fd5b5061014f61014a366004611cfe565b6103fc565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b5061017961040d565b60405161015b9190611d73565b34801561019257600080fd5b506101a66101a1366004611d86565b61049f565b6040516001600160a01b03909116815260200161015b565b3480156101ca57600080fd5b506101de6101d9366004611dbb565b6104c6565b005b3480156101ec57600080fd5b506101de6101fb366004611de5565b6105e1565b34801561020c57600080fd5b506101de61021b366004611e21565b610612565b34801561022c57600080fd5b506101de61023b366004611de5565b6106f2565b6101de61024e366004611ee8565b61070d565b34801561025f57600080fd5b506102686107de565b60405190815260200161015b565b34801561028257600080fd5b506101a6610291366004611d86565b610891565b3480156102a257600080fd5b506102686102b1366004611e21565b6108f1565b3480156102c257600080fd5b506101de610977565b3480156102d757600080fd5b506101de61098b565b3480156102ec57600080fd5b5060c9546001600160a01b03166101a6565b34801561030a57600080fd5b50610179610af7565b34801561031f57600080fd5b506101de61032e366004611f36565b610b06565b34801561033f57600080fd5b506101de61034e366004611f72565b610b11565b34801561035f57600080fd5b5061017961036e366004611d86565b610b49565b34801561037f57600080fd5b506101de61038e366004611fda565b610b54565b34801561039f57600080fd5b5061014f6103ae366004612032565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b3480156103e857600080fd5b506101de6103f7366004611e21565b610b8d565b600061040782610c03565b92915050565b60606065805461041c90612065565b80601f016020809104026020016040519081016040528092919081815260200182805461044890612065565b80156104955780601f1061046a57610100808354040283529160200191610495565b820191906000526020600020905b81548152906001019060200180831161047857829003601f168201915b5050505050905090565b60006104aa82610c28565b506000908152606960205260409020546001600160a01b031690565b60006104d182610891565b9050806001600160a01b0316836001600160a01b031614156105445760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610560575061056081336103ae565b6105d25760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161053b565b6105dc8383610c87565b505050565b6105eb3382610cf5565b6106075760405162461bcd60e51b815260040161053b906120a0565b6105dc838383610d74565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561065b5760405162461bcd60e51b815260040161053b906120ed565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106a460008051602061231c833981519152546001600160a01b031690565b6001600160a01b0316146106ca5760405162461bcd60e51b815260040161053b90612139565b6106d381610ed8565b604080516000808252602082019092526106ef91839190610ee0565b50565b6105dc83838360405180602001604052806000815250610b11565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107565760405162461bcd60e51b815260040161053b906120ed565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661079f60008051602061231c833981519152546001600160a01b031690565b6001600160a01b0316146107c55760405162461bcd60e51b815260040161053b90612139565b6107ce82610ed8565b6107da82826001610ee0565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461087e5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161053b565b5060008051602061231c83398151915290565b6000818152606760205260408120546001600160a01b0316806104075760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161053b565b60006001600160a01b03821661095b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161053b565b506001600160a01b031660009081526068602052604090205490565b61097f61104b565b61098960006110a5565b565b600054610100900460ff16158080156109ab5750600054600160ff909116105b806109c55750303b1580156109c5575060005460ff166001145b610a285760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161053b565b6000805460ff191660011790558015610a4b576000805461ff0019166101001790555b610a976040518060400160405280600f81526020016e115490cdcc8c551bdad95b95195cdd608a1b8152506040518060400160405280600381526020016215151560ea1b8152506110f7565b610a9f611128565b610aa761114f565b610aaf611128565b80156106ef576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b60606066805461041c90612065565b6107da33838361117e565b610b1b3383610cf5565b610b375760405162461bcd60e51b815260040161053b906120a0565b610b438484848461124d565b50505050565b606061040782611280565b610b5c61104b565b6000610b6861015f5490565b9050610b7961015f80546001019055565b610b8383826113a0565b6105dc81836113ba565b610b9561104b565b6001600160a01b038116610bfa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053b565b6106ef816110a5565b60006001600160e01b03198216632483248360e11b148061040757506104078261148c565b6000818152606760205260409020546001600160a01b03166106ef5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161053b565b600081815260696020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cbc82610891565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610d0183610891565b9050806001600160a01b0316846001600160a01b03161480610d4857506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b80610d6c5750836001600160a01b0316610d618461049f565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d8782610891565b6001600160a01b031614610dad5760405162461bcd60e51b815260040161053b90612185565b6001600160a01b038216610e0f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161053b565b826001600160a01b0316610e2282610891565b6001600160a01b031614610e485760405162461bcd60e51b815260040161053b90612185565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106ef61104b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610f13576105dc836114dc565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f6d575060408051601f3d908101601f19168201909252610f6a918101906121ca565b60015b610fd05760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161053b565b60008051602061231c833981519152811461103f5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161053b565b506105dc838383611578565b60c9546001600160a01b031633146109895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161053b565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1661111e5760405162461bcd60e51b815260040161053b906121e3565b6107da828261159d565b600054610100900460ff166109895760405162461bcd60e51b815260040161053b906121e3565b600054610100900460ff166111765760405162461bcd60e51b815260040161053b906121e3565b6109896115eb565b816001600160a01b0316836001600160a01b031614156111e05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161053b565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611258848484610d74565b6112648484848461161b565b610b435760405162461bcd60e51b815260040161053b9061222e565b606061128b82610c28565b600082815260976020526040812080546112a490612065565b80601f01602080910402602001604051908101604052809291908181526020018280546112d090612065565b801561131d5780601f106112f25761010080835404028352916020019161131d565b820191906000526020600020905b81548152906001019060200180831161130057829003601f168201915b50505050509050600061135260408051808201909152600f81526e1a5c199cce8bcbdd195cdd0b5d5c9b608a1b602082015290565b9050805160001415611365575092915050565b81511561139757808260405160200161137f929190612280565b60405160208183030381529060405292505050919050565b610d6c84611719565b6107da8282604051806020016040528060008152506117a4565b6000828152606760205260409020546001600160a01b03166114355760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161053b565b6000828152609760209081526040909120825161145492840190611c4f565b506040518281527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a15050565b60006001600160e01b031982166380ac58cd60e01b14806114bd57506001600160e01b03198216635b5e139f60e01b145b8061040757506301ffc9a760e01b6001600160e01b0319831614610407565b6001600160a01b0381163b6115495760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161053b565b60008051602061231c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611581836117d7565b60008251118061158e5750805b156105dc57610b438383611817565b600054610100900460ff166115c45760405162461bcd60e51b815260040161053b906121e3565b81516115d7906065906020850190611c4f565b5080516105dc906066906020840190611c4f565b600054610100900460ff166116125760405162461bcd60e51b815260040161053b906121e3565b610989336110a5565b60006001600160a01b0384163b1561170e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061165f9033908990889088906004016122af565b6020604051808303816000875af192505050801561169a575060408051601f3d908101601f19168201909252611697918101906122e2565b60015b6116f4573d8080156116c8576040519150601f19603f3d011682016040523d82523d6000602084013e6116cd565b606091505b5080516116ec5760405162461bcd60e51b815260040161053b9061222e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d6c565b506001949350505050565b606061172482610c28565b600061175260408051808201909152600f81526e1a5c199cce8bcbdd195cdd0b5d5c9b608a1b602082015290565b90506000815111611772576040518060200160405280600081525061179d565b8061177c8461183c565b60405160200161178d929190612280565b6040516020818303038152906040525b9392505050565b6117ae83836118d9565b6117bb600084848461161b565b6105dc5760405162461bcd60e51b815260040161053b9061222e565b6117e0816114dc565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061179d838360405180606001604052806027815260200161233c60279139611a64565b6060600061184983611adc565b600101905060008167ffffffffffffffff81111561186957611869611e3c565b6040519080825280601f01601f191660200182016040528015611893576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846118cc576118d1565b61189d565b509392505050565b6001600160a01b03821661192f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161053b565b6000818152606760205260409020546001600160a01b0316156119945760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161053b565b6000818152606760205260409020546001600160a01b0316156119f95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161053b565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600080856001600160a01b031685604051611a8191906122ff565b600060405180830381855af49150503d8060008114611abc576040519150601f19603f3d011682016040523d82523d6000602084013e611ac1565b606091505b5091509150611ad286838387611bb4565b9695505050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b1b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b47576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b6557662386f26fc10000830492506010015b6305f5e1008310611b7d576305f5e100830492506008015b6127108310611b9157612710830492506004015b60648310611ba3576064830492506002015b600a83106104075760010192915050565b60608315611c20578251611c19576001600160a01b0385163b611c195760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161053b565b5081610d6c565b610d6c8383815115611c355781518083602001fd5b8060405162461bcd60e51b815260040161053b9190611d73565b828054611c5b90612065565b90600052602060002090601f016020900481019282611c7d5760008555611cc3565b82601f10611c9657805160ff1916838001178555611cc3565b82800160010185558215611cc3579182015b82811115611cc3578251825591602001919060010190611ca8565b50611ccf929150611cd3565b5090565b5b80821115611ccf5760008155600101611cd4565b6001600160e01b0319811681146106ef57600080fd5b600060208284031215611d1057600080fd5b813561179d81611ce8565b60005b83811015611d36578181015183820152602001611d1e565b83811115610b435750506000910152565b60008151808452611d5f816020860160208601611d1b565b601f01601f19169290920160200192915050565b60208152600061179d6020830184611d47565b600060208284031215611d9857600080fd5b5035919050565b80356001600160a01b0381168114611db657600080fd5b919050565b60008060408385031215611dce57600080fd5b611dd783611d9f565b946020939093013593505050565b600080600060608486031215611dfa57600080fd5b611e0384611d9f565b9250611e1160208501611d9f565b9150604084013590509250925092565b600060208284031215611e3357600080fd5b61179d82611d9f565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e6d57611e6d611e3c565b604051601f8501601f19908116603f01168101908282118183101715611e9557611e95611e3c565b81604052809350858152868686011115611eae57600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611ed957600080fd5b61179d83833560208501611e52565b60008060408385031215611efb57600080fd5b611f0483611d9f565b9150602083013567ffffffffffffffff811115611f2057600080fd5b611f2c85828601611ec8565b9150509250929050565b60008060408385031215611f4957600080fd5b611f5283611d9f565b915060208301358015158114611f6757600080fd5b809150509250929050565b60008060008060808587031215611f8857600080fd5b611f9185611d9f565b9350611f9f60208601611d9f565b925060408501359150606085013567ffffffffffffffff811115611fc257600080fd5b611fce87828801611ec8565b91505092959194509250565b60008060408385031215611fed57600080fd5b611ff683611d9f565b9150602083013567ffffffffffffffff81111561201257600080fd5b8301601f8101851361202357600080fd5b611f2c85823560208401611e52565b6000806040838503121561204557600080fd5b61204e83611d9f565b915061205c60208401611d9f565b90509250929050565b600181811c9082168061207957607f821691505b6020821081141561209a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000602082840312156121dc57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612292818460208801611d1b565b8351908301906122a6818360208801611d1b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad290830184611d47565b6000602082840312156122f457600080fd5b815161179d81611ce8565b60008251612311818460208701611d1b565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220669c6943431236e79addb2ca9dbff0fbcd604df8d4f6116c23f4ad669d66a05664736f6c634300080a0033",
}

ERC721TokenTestMetaData contains all meta data concerning the ERC721TokenTest contract.

View Source
var StakingTestABI = StakingTestMetaData.ABI

StakingTestABI is the input ABI used to generate the binding from. Deprecated: Use StakingTestMetaData.ABI instead.

View Source
var StakingTestBin = StakingTestMetaData.Bin

StakingTestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakingTestMetaData.Bin instead.

View Source
var StakingTestMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"ApproveShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Delegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valDst\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"Redelegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valDst\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"RedelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"TransferShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"Undelegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"UndelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowanceShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"approveShares\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"delegate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"delegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegationRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_valSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_valDst\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"redelegate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_valSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_valDst\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"redelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferFromShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"undelegate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"undelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"validatorShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50611748806100206000396000f3fe6080604052600436106100dd5760003560e01c80638dfc88971161007f578063d5c498eb11610059578063d5c498eb14610273578063dc6ffc7d14610293578063de2b3451146102b3578063ee226c66146102d357600080fd5b80638dfc8897146102085780639ddb511a14610228578063bf98d7721461023b57600080fd5b806351af513a116100bb57806351af513a1461017a5780636d7880351461019a5780637b625c0f146101ad5780637dd0209d146101cd57600080fd5b8063161298c1146100e257806331fb67c21461011c57806349da433e1461014a575b600080fd5b3480156100ee57600080fd5b506101026100fd3660046111a1565b6102f3565b604080519283526020830191909152015b60405180910390f35b34801561012857600080fd5b5061013c6101373660046111f8565b610312565b604051908152602001610113565b34801561015657600080fd5b5061016a6101653660046111a1565b610325565b6040519015158152602001610113565b34801561018657600080fd5b5061013c61019536600461122d565b61033c565b61016a6101a836600461127b565b610348565b3480156101b957600080fd5b5061013c6101c83660046112c0565b610400565b3480156101d957600080fd5b506101ed6101e836600461131e565b610415565b60408051938452602084019290925290820152606001610113565b34801561021457600080fd5b506101ed61022336600461127b565b6104a5565b6101026102363660046111f8565b6104fe565b34801561024757600080fd5b5061013c6102563660046111f8565b805160208183018101805160008252928201919093012091525481565b34801561027f57600080fd5b5061010261028e36600461122d565b61054f565b34801561029f57600080fd5b506101026102ae36600461138b565b610567565b3480156102bf57600080fd5b5061016a6102ce36600461127b565b610588565b3480156102df57600080fd5b5061016a6102ee36600461131e565b6105b2565b600080600080610304878787610621565b909890975095505050505050565b60008061031e836106d8565b9392505050565b600080610333858585610777565b95945050505050565b600061031e8383610828565b6000814710156103965760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b604051636d78803560e01b815261100390636d788035906103bd908690869060040161144d565b6020604051808303816000875af11580156103dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031e919061146f565b600061040d8484846108d4565b949350505050565b600080600080600080610429898989610981565b9250925092508660008a6040516104409190611491565b9081526020016040518091039020600082825461045d91906114c3565b92505081905550866000896040516104759190611491565b9081526020016040518091039020600082825461049291906114da565b9091555092999198509650945050505050565b6000806000806000806104b88888610a37565b925092509250866000896040516104cf9190611491565b908152602001604051809103902060008282546104ec91906114c3565b90915550929891975095509350505050565b60008060008061050e8534610aea565b91509150816000866040516105239190611491565b9081526020016040518091039020600082825461054091906114da565b90915550919590945092505050565b60008061055c8484610b98565b915091509250929050565b60008060008061057988888888610c30565b90999098509650505050505050565b60405163de2b345160e01b81526000906110039063de2b3451906103bd908690869060040161144d565b604051637711363360e11b81526000906110039063ee226c66906105de908790879087906004016114f2565b6020604051808303816000875af11580156105fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040d919061146f565b6000808080611003610634888888610cf0565b6040516106419190611491565b6000604051808303816000865af19150503d806000811461067e576040519150601f19603f3d011682016040523d82523d6000602084013e610683565b606091505b50915091506106c18282604051806040016040528060168152602001751d1c985b9cd9995c881cda185c995cc819985a5b195960521b815250610d3a565b6106ca81610db9565b935093505050935093915050565b600080806110036106e885610ddf565b6040516106f59190611491565b6000604051808303816000865af19150503d8060008114610732576040519150601f19603f3d011682016040523d82523d6000602084013e610737565b606091505b509150915061076e82826040518060400160405280600f81526020016e1dda5d1a191c985dc819985a5b1959608a1b815250610d3a565b61040d81610e22565b60008080611003610789878787610e39565b6040516107969190611491565b6000604051808303816000865af19150503d80600081146107d3576040519150601f19603f3d011682016040523d82523d6000602084013e6107d8565b606091505b5091509150610815828260405180604001604052806015815260200174185c1c1c9bdd99481cda185c995cc819985a5b1959605a1b815250610d3a565b61081e81610e83565b9695505050505050565b600080806110036108398686610e9a565b6040516108469190611491565b600060405180830381855afa9150503d8060008114610881576040519150601f19603f3d011682016040523d82523d6000602084013e610886565b606091505b50915091506108cb82826040518060400160405280601881526020017f64656c65676174696f6e52657761726473206661696c65640000000000000000815250610d3a565b61033381610e22565b600080806110036108e6878787610ee1565b6040516108f39190611491565b600060405180830381855afa9150503d806000811461092e576040519150601f19603f3d011682016040523d82523d6000602084013e610933565b606091505b509150915061097882826040518060400160405280601781526020017f616c6c6f77616e636520736861726573206661696c6564000000000000000000815250610d3a565b61081e81610e22565b600080808080611003610995898989610f2b565b6040516109a29190611491565b6000604051808303816000865af19150503d80600081146109df576040519150601f19603f3d011682016040523d82523d6000602084013e6109e4565b606091505b5091509150610a1d8282604051806040016040528060118152602001701c9959195b1959d85d194819985a5b1959607a1b815250610d3a565b610a2681610f75565b945094509450505093509350939050565b600080808080611003610a4a8888610fa2565b604051610a579190611491565b6000604051808303816000865af19150503d8060008114610a94576040519150601f19603f3d011682016040523d82523d6000602084013e610a99565b606091505b5091509150610ad28282604051806040016040528060118152602001701d5b99195b1959d85d194819985a5b1959607a1b815250610d3a565b610adb81610f75565b94509450945050509250925092565b600080808061100385610afc88610fe9565b604051610b099190611491565b60006040518083038185875af1925050503d8060008114610b46576040519150601f19603f3d011682016040523d82523d6000602084013e610b4b565b606091505b5091509150610b8282826040518060400160405280600f81526020016e19195b1959d85d194819985a5b1959608a1b815250610d3a565b610b8b81610db9565b9350935050509250929050565b6000808080611003610baa878761102c565b604051610bb79190611491565b600060405180830381855afa9150503d8060008114610bf2576040519150601f19603f3d011682016040523d82523d6000602084013e610bf7565b606091505b5091509150610b8282826040518060400160405280601181526020017019195b1959d85d1a5bdb8819985a5b1959607a1b815250610d3a565b6000808080611003610c4489898989611073565b604051610c519190611491565b6000604051808303816000865af19150503d8060008114610c8e576040519150601f19603f3d011682016040523d82523d6000602084013e610c93565b606091505b5091509150610cd882826040518060400160405280601a81526020017f7472616e7366657246726f6d20736861726573206661696c6564000000000000815250610d3a565b610ce181610db9565b93509350505094509492505050565b6060838383604051602401610d0793929190611528565b60408051601f198184030181529190526020810180516001600160e01b031663161298c160e01b17905290509392505050565b82610db457600082806020019051810190610d559190611556565b9050600182511015610d7b578060405162461bcd60e51b815260040161038d91906115c4565b8181604051602001610d8e9291906115d7565b60408051601f198184030181529082905262461bcd60e51b825261038d916004016115c4565b505050565b60008060008084806020019051810190610dd39190611614565b90969095509350505050565b606081604051602401610df291906115c4565b60408051601f198184030181529190526020810180516001600160e01b03166318fdb3e160e11b17905292915050565b6000808280602001905181019061031e9190611638565b6060838383604051602401610e5093929190611528565b60408051601f198184030181529190526020810180516001600160e01b03166324ed219f60e11b17905290509392505050565b6000808280602001905181019061031e919061146f565b60608282604051602401610eaf929190611651565b60408051601f198184030181529190526020810180516001600160e01b03166328d7a89d60e11b179052905092915050565b6060838383604051602401610ef89392919061167b565b60408051601f198184030181529190526020810180516001600160e01b0316637b625c0f60e01b17905290509392505050565b6060838383604051602401610f42939291906114f2565b60408051601f198184030181529190526020810180516001600160e01b0316637dd0209d60e01b17905290509392505050565b60008060008060008086806020019051810190610f9291906116ae565b9199909850909650945050505050565b60608282604051602401610fb792919061144d565b60408051601f198184030181529190526020810180516001600160e01b0316638dfc889760e01b179052905092915050565b606081604051602401610ffc91906115c4565b60408051601f198184030181529190526020810180516001600160e01b0316634eeda88d60e11b17905292915050565b60608282604051602401611041929190611651565b60408051601f198184030181529190526020810180516001600160e01b031663d5c498eb60e01b179052905092915050565b60608484848460405160240161108c94939291906116dc565b60408051601f198184030181529190526020810180516001600160e01b031663dc6ffc7d60e01b1790529050949350505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156110ff576110ff6110c0565b604052919050565b600067ffffffffffffffff821115611121576111216110c0565b50601f01601f191660200190565b600082601f83011261114057600080fd5b813561115361114e82611107565b6110d6565b81815284602083860101111561116857600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160a01b038116811461119c57600080fd5b919050565b6000806000606084860312156111b657600080fd5b833567ffffffffffffffff8111156111cd57600080fd5b6111d98682870161112f565b9350506111e860208501611185565b9150604084013590509250925092565b60006020828403121561120a57600080fd5b813567ffffffffffffffff81111561122157600080fd5b61040d8482850161112f565b6000806040838503121561124057600080fd5b823567ffffffffffffffff81111561125757600080fd5b6112638582860161112f565b92505061127260208401611185565b90509250929050565b6000806040838503121561128e57600080fd5b823567ffffffffffffffff8111156112a557600080fd5b6112b18582860161112f565b95602094909401359450505050565b6000806000606084860312156112d557600080fd5b833567ffffffffffffffff8111156112ec57600080fd5b6112f88682870161112f565b93505061130760208501611185565b915061131560408501611185565b90509250925092565b60008060006060848603121561133357600080fd5b833567ffffffffffffffff8082111561134b57600080fd5b6113578783880161112f565b9450602086013591508082111561136d57600080fd5b5061137a8682870161112f565b925050604084013590509250925092565b600080600080608085870312156113a157600080fd5b843567ffffffffffffffff8111156113b857600080fd5b6113c48782880161112f565b9450506113d360208601611185565b92506113e160408601611185565b9396929550929360600135925050565b60005b8381101561140c5781810151838201526020016113f4565b8381111561141b576000848401525b50505050565b600081518084526114398160208601602086016113f1565b601f01601f19169290920160200192915050565b6040815260006114606040830185611421565b90508260208301529392505050565b60006020828403121561148157600080fd5b8151801515811461031e57600080fd5b600082516114a38184602087016113f1565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b6000828210156114d5576114d56114ad565b500390565b600082198211156114ed576114ed6114ad565b500190565b6060815260006115056060830186611421565b82810360208401526115178186611421565b915050826040830152949350505050565b60608152600061153b6060830186611421565b6001600160a01b039490941660208301525060400152919050565b60006020828403121561156857600080fd5b815167ffffffffffffffff81111561157f57600080fd5b8201601f8101841361159057600080fd5b805161159e61114e82611107565b8181528560208385010111156115b357600080fd5b6103338260208301602086016113f1565b60208152600061031e6020830184611421565b600083516115e98184602088016113f1565b6101d160f51b90830190815283516116088160028401602088016113f1565b01600201949350505050565b6000806040838503121561162757600080fd5b505080516020909101519092909150565b60006020828403121561164a57600080fd5b5051919050565b6040815260006116646040830185611421565b905060018060a01b03831660208301529392505050565b60608152600061168e6060830186611421565b6001600160a01b0394851660208401529290931660409091015292915050565b6000806000606084860312156116c357600080fd5b8351925060208401519150604084015190509250925092565b6080815260006116ef6080830187611421565b6001600160a01b039586166020840152939094166040820152606001529291505056fea26469706673582212208769dcea5b20694d82aea3b5e10a6cf4a92707b95217cc241eef43dda543cf2a64736f6c634300080a0033",
}

StakingTestMetaData contains all meta data concerning the StakingTest contract.

Functions

This section is empty.

Types

type CrossChainTest

type CrossChainTest struct {
	CrossChainTestCaller     // Read-only binding to the contract
	CrossChainTestTransactor // Write-only binding to the contract
	CrossChainTestFilterer   // Log filterer for contract events
}

CrossChainTest is an auto generated Go binding around an Ethereum contract.

func DeployCrossChainTest

func DeployCrossChainTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CrossChainTest, error)

DeployCrossChainTest deploys a new Ethereum contract, binding an instance of CrossChainTest to it.

func NewCrossChainTest

func NewCrossChainTest(address common.Address, backend bind.ContractBackend) (*CrossChainTest, error)

NewCrossChainTest creates a new instance of CrossChainTest, bound to a specific deployed contract.

type CrossChainTestCaller

type CrossChainTestCaller struct {
	// contains filtered or unexported fields
}

CrossChainTestCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCrossChainTestCaller

func NewCrossChainTestCaller(address common.Address, caller bind.ContractCaller) (*CrossChainTestCaller, error)

NewCrossChainTestCaller creates a new read-only instance of CrossChainTest, bound to a specific deployed contract.

func (*CrossChainTestCaller) BridgeCoinAmount

func (_CrossChainTest *CrossChainTestCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error)

BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.

Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256)

func (*CrossChainTestCaller) CROSSCHAINADDRESS

func (_CrossChainTest *CrossChainTestCaller) CROSSCHAINADDRESS(opts *bind.CallOpts) (common.Address, error)

CROSSCHAINADDRESS is a free data retrieval call binding the contract method 0xf7356475.

Solidity: function CROSS_CHAIN_ADDRESS() view returns(address)

type CrossChainTestCallerRaw

type CrossChainTestCallerRaw struct {
	Contract *CrossChainTestCaller // Generic read-only contract binding to access the raw methods on
}

CrossChainTestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CrossChainTestCallerRaw) Call

func (_CrossChainTest *CrossChainTestCallerRaw) 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 CrossChainTestCallerSession

type CrossChainTestCallerSession struct {
	Contract *CrossChainTestCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

CrossChainTestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CrossChainTestCallerSession) BridgeCoinAmount

func (_CrossChainTest *CrossChainTestCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)

BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.

Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256)

func (*CrossChainTestCallerSession) CROSSCHAINADDRESS

func (_CrossChainTest *CrossChainTestCallerSession) CROSSCHAINADDRESS() (common.Address, error)

CROSSCHAINADDRESS is a free data retrieval call binding the contract method 0xf7356475.

Solidity: function CROSS_CHAIN_ADDRESS() view returns(address)

type CrossChainTestFilterer

type CrossChainTestFilterer struct {
	// contains filtered or unexported fields
}

CrossChainTestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCrossChainTestFilterer

func NewCrossChainTestFilterer(address common.Address, filterer bind.ContractFilterer) (*CrossChainTestFilterer, error)

NewCrossChainTestFilterer creates a new log filterer instance of CrossChainTest, bound to a specific deployed contract.

type CrossChainTestRaw

type CrossChainTestRaw struct {
	Contract *CrossChainTest // Generic contract binding to access the raw methods on
}

CrossChainTestRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CrossChainTestRaw) Call

func (_CrossChainTest *CrossChainTestRaw) 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 (*CrossChainTestRaw) Transact

func (_CrossChainTest *CrossChainTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CrossChainTestRaw) Transfer

func (_CrossChainTest *CrossChainTestRaw) 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 CrossChainTestSession

type CrossChainTestSession struct {
	Contract     *CrossChainTest   // 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
}

CrossChainTestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CrossChainTestSession) BridgeCoinAmount

func (_CrossChainTest *CrossChainTestSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)

BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.

Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256)

func (*CrossChainTestSession) CROSSCHAINADDRESS

func (_CrossChainTest *CrossChainTestSession) CROSSCHAINADDRESS() (common.Address, error)

CROSSCHAINADDRESS is a free data retrieval call binding the contract method 0xf7356475.

Solidity: function CROSS_CHAIN_ADDRESS() view returns(address)

func (*CrossChainTestSession) CancelSendToExternal

func (_CrossChainTest *CrossChainTestSession) CancelSendToExternal(_chain string, _txID *big.Int) (*types.Transaction, error)

CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190.

Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool)

func (*CrossChainTestSession) CrossChain

func (_CrossChainTest *CrossChainTestSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.

Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool)

func (*CrossChainTestSession) IncreaseBridgeFee

func (_CrossChainTest *CrossChainTestSession) IncreaseBridgeFee(_chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error)

IncreaseBridgeFee is a paid mutator transaction binding the contract method 0xc79a6b7b.

Solidity: function increaseBridgeFee(string _chain, uint256 _txID, address _token, uint256 _fee) payable returns(bool)

type CrossChainTestTransactor

type CrossChainTestTransactor struct {
	// contains filtered or unexported fields
}

CrossChainTestTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCrossChainTestTransactor

func NewCrossChainTestTransactor(address common.Address, transactor bind.ContractTransactor) (*CrossChainTestTransactor, error)

NewCrossChainTestTransactor creates a new write-only instance of CrossChainTest, bound to a specific deployed contract.

func (*CrossChainTestTransactor) CancelSendToExternal

func (_CrossChainTest *CrossChainTestTransactor) CancelSendToExternal(opts *bind.TransactOpts, _chain string, _txID *big.Int) (*types.Transaction, error)

CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190.

Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool)

func (*CrossChainTestTransactor) CrossChain

func (_CrossChainTest *CrossChainTestTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.

Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool)

func (*CrossChainTestTransactor) IncreaseBridgeFee

func (_CrossChainTest *CrossChainTestTransactor) IncreaseBridgeFee(opts *bind.TransactOpts, _chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error)

IncreaseBridgeFee is a paid mutator transaction binding the contract method 0xc79a6b7b.

Solidity: function increaseBridgeFee(string _chain, uint256 _txID, address _token, uint256 _fee) payable returns(bool)

type CrossChainTestTransactorRaw

type CrossChainTestTransactorRaw struct {
	Contract *CrossChainTestTransactor // Generic write-only contract binding to access the raw methods on
}

CrossChainTestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CrossChainTestTransactorRaw) Transact

func (_CrossChainTest *CrossChainTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CrossChainTestTransactorRaw) Transfer

func (_CrossChainTest *CrossChainTestTransactorRaw) 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 CrossChainTestTransactorSession

type CrossChainTestTransactorSession struct {
	Contract     *CrossChainTestTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

CrossChainTestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CrossChainTestTransactorSession) CancelSendToExternal

func (_CrossChainTest *CrossChainTestTransactorSession) CancelSendToExternal(_chain string, _txID *big.Int) (*types.Transaction, error)

CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190.

Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool)

func (*CrossChainTestTransactorSession) CrossChain

func (_CrossChainTest *CrossChainTestTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.

Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool)

func (*CrossChainTestTransactorSession) IncreaseBridgeFee

func (_CrossChainTest *CrossChainTestTransactorSession) IncreaseBridgeFee(_chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error)

IncreaseBridgeFee is a paid mutator transaction binding the contract method 0xc79a6b7b.

Solidity: function increaseBridgeFee(string _chain, uint256 _txID, address _token, uint256 _fee) payable returns(bool)

type ERC721TokenTest

type ERC721TokenTest struct {
	ERC721TokenTestCaller     // Read-only binding to the contract
	ERC721TokenTestTransactor // Write-only binding to the contract
	ERC721TokenTestFilterer   // Log filterer for contract events
}

ERC721TokenTest is an auto generated Go binding around an Ethereum contract.

func DeployERC721TokenTest

func DeployERC721TokenTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721TokenTest, error)

DeployERC721TokenTest deploys a new Ethereum contract, binding an instance of ERC721TokenTest to it.

func NewERC721TokenTest

func NewERC721TokenTest(address common.Address, backend bind.ContractBackend) (*ERC721TokenTest, error)

NewERC721TokenTest creates a new instance of ERC721TokenTest, bound to a specific deployed contract.

type ERC721TokenTestAdminChanged

type ERC721TokenTestAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ERC721TokenTestAdminChanged represents a AdminChanged event raised by the ERC721TokenTest contract.

type ERC721TokenTestAdminChangedIterator

type ERC721TokenTestAdminChangedIterator struct {
	Event *ERC721TokenTestAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestAdminChangedIterator) Next

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 ERC721TokenTestApproval

type ERC721TokenTestApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ERC721TokenTestApproval represents a Approval event raised by the ERC721TokenTest contract.

type ERC721TokenTestApprovalForAll

type ERC721TokenTestApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ERC721TokenTestApprovalForAll represents a ApprovalForAll event raised by the ERC721TokenTest contract.

type ERC721TokenTestApprovalForAllIterator

type ERC721TokenTestApprovalForAllIterator struct {
	Event *ERC721TokenTestApprovalForAll // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestApprovalForAllIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestApprovalForAllIterator) Next

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 ERC721TokenTestApprovalIterator

type ERC721TokenTestApprovalIterator struct {
	Event *ERC721TokenTestApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestApprovalIterator) Next

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 ERC721TokenTestBatchMetadataUpdate

type ERC721TokenTestBatchMetadataUpdate struct {
	FromTokenId *big.Int
	ToTokenId   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ERC721TokenTestBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the ERC721TokenTest contract.

type ERC721TokenTestBatchMetadataUpdateIterator

type ERC721TokenTestBatchMetadataUpdateIterator struct {
	Event *ERC721TokenTestBatchMetadataUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestBatchMetadataUpdateIterator is returned from FilterBatchMetadataUpdate and is used to iterate over the raw logs and unpacked data for BatchMetadataUpdate events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestBatchMetadataUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestBatchMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestBatchMetadataUpdateIterator) Next

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 ERC721TokenTestBeaconUpgraded

type ERC721TokenTestBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ERC721TokenTestBeaconUpgraded represents a BeaconUpgraded event raised by the ERC721TokenTest contract.

type ERC721TokenTestBeaconUpgradedIterator

type ERC721TokenTestBeaconUpgradedIterator struct {
	Event *ERC721TokenTestBeaconUpgraded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestBeaconUpgradedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestBeaconUpgradedIterator) Next

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 ERC721TokenTestCaller

type ERC721TokenTestCaller struct {
	// contains filtered or unexported fields
}

ERC721TokenTestCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewERC721TokenTestCaller

func NewERC721TokenTestCaller(address common.Address, caller bind.ContractCaller) (*ERC721TokenTestCaller, error)

NewERC721TokenTestCaller creates a new read-only instance of ERC721TokenTest, bound to a specific deployed contract.

func (*ERC721TokenTestCaller) BalanceOf

func (_ERC721TokenTest *ERC721TokenTestCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ERC721TokenTestCaller) GetApproved

func (_ERC721TokenTest *ERC721TokenTestCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ERC721TokenTestCaller) IsApprovedForAll

func (_ERC721TokenTest *ERC721TokenTestCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ERC721TokenTestCaller) Name

func (_ERC721TokenTest *ERC721TokenTestCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC721TokenTestCaller) Owner

func (_ERC721TokenTest *ERC721TokenTestCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ERC721TokenTestCaller) OwnerOf

func (_ERC721TokenTest *ERC721TokenTestCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ERC721TokenTestCaller) ProxiableUUID

func (_ERC721TokenTest *ERC721TokenTestCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*ERC721TokenTestCaller) SupportsInterface

func (_ERC721TokenTest *ERC721TokenTestCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ERC721TokenTestCaller) Symbol

func (_ERC721TokenTest *ERC721TokenTestCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC721TokenTestCaller) TokenURI

func (_ERC721TokenTest *ERC721TokenTestCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type ERC721TokenTestCallerRaw

type ERC721TokenTestCallerRaw struct {
	Contract *ERC721TokenTestCaller // Generic read-only contract binding to access the raw methods on
}

ERC721TokenTestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ERC721TokenTestCallerRaw) Call

func (_ERC721TokenTest *ERC721TokenTestCallerRaw) 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 ERC721TokenTestCallerSession

type ERC721TokenTestCallerSession struct {
	Contract *ERC721TokenTestCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

ERC721TokenTestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ERC721TokenTestCallerSession) BalanceOf

func (_ERC721TokenTest *ERC721TokenTestCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ERC721TokenTestCallerSession) GetApproved

func (_ERC721TokenTest *ERC721TokenTestCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ERC721TokenTestCallerSession) IsApprovedForAll

func (_ERC721TokenTest *ERC721TokenTestCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ERC721TokenTestCallerSession) Name

func (_ERC721TokenTest *ERC721TokenTestCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC721TokenTestCallerSession) Owner

func (_ERC721TokenTest *ERC721TokenTestCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ERC721TokenTestCallerSession) OwnerOf

func (_ERC721TokenTest *ERC721TokenTestCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ERC721TokenTestCallerSession) ProxiableUUID

func (_ERC721TokenTest *ERC721TokenTestCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*ERC721TokenTestCallerSession) SupportsInterface

func (_ERC721TokenTest *ERC721TokenTestCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ERC721TokenTestCallerSession) Symbol

func (_ERC721TokenTest *ERC721TokenTestCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC721TokenTestCallerSession) TokenURI

func (_ERC721TokenTest *ERC721TokenTestCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type ERC721TokenTestFilterer

type ERC721TokenTestFilterer struct {
	// contains filtered or unexported fields
}

ERC721TokenTestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewERC721TokenTestFilterer

func NewERC721TokenTestFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721TokenTestFilterer, error)

NewERC721TokenTestFilterer creates a new log filterer instance of ERC721TokenTest, bound to a specific deployed contract.

func (*ERC721TokenTestFilterer) FilterAdminChanged

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC721TokenTestAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC721TokenTestFilterer) FilterApproval

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721TokenTestApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ERC721TokenTestFilterer) FilterApprovalForAll

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721TokenTestApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ERC721TokenTestFilterer) FilterBatchMetadataUpdate

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*ERC721TokenTestBatchMetadataUpdateIterator, error)

FilterBatchMetadataUpdate is a free log retrieval operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*ERC721TokenTestFilterer) FilterBeaconUpgraded

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC721TokenTestBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC721TokenTestFilterer) FilterInitialized

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC721TokenTestInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ERC721TokenTestFilterer) FilterMetadataUpdate

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*ERC721TokenTestMetadataUpdateIterator, error)

FilterMetadataUpdate is a free log retrieval operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*ERC721TokenTestFilterer) FilterOwnershipTransferred

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721TokenTestOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ERC721TokenTestFilterer) FilterTransfer

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TokenTestTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*ERC721TokenTestFilterer) FilterUpgraded

func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC721TokenTestUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ERC721TokenTestFilterer) ParseAdminChanged

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseAdminChanged(log types.Log) (*ERC721TokenTestAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC721TokenTestFilterer) ParseApproval

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseApproval(log types.Log) (*ERC721TokenTestApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ERC721TokenTestFilterer) ParseApprovalForAll

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseApprovalForAll(log types.Log) (*ERC721TokenTestApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ERC721TokenTestFilterer) ParseBatchMetadataUpdate

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseBatchMetadataUpdate(log types.Log) (*ERC721TokenTestBatchMetadataUpdate, error)

ParseBatchMetadataUpdate is a log parse operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*ERC721TokenTestFilterer) ParseBeaconUpgraded

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseBeaconUpgraded(log types.Log) (*ERC721TokenTestBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC721TokenTestFilterer) ParseInitialized

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseInitialized(log types.Log) (*ERC721TokenTestInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ERC721TokenTestFilterer) ParseMetadataUpdate

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseMetadataUpdate(log types.Log) (*ERC721TokenTestMetadataUpdate, error)

ParseMetadataUpdate is a log parse operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*ERC721TokenTestFilterer) ParseOwnershipTransferred

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseOwnershipTransferred(log types.Log) (*ERC721TokenTestOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ERC721TokenTestFilterer) ParseTransfer

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseTransfer(log types.Log) (*ERC721TokenTestTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*ERC721TokenTestFilterer) ParseUpgraded

func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseUpgraded(log types.Log) (*ERC721TokenTestUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ERC721TokenTestFilterer) WatchAdminChanged

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC721TokenTestFilterer) WatchApproval

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ERC721TokenTestFilterer) WatchApprovalForAll

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ERC721TokenTestFilterer) WatchBatchMetadataUpdate

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestBatchMetadataUpdate) (event.Subscription, error)

WatchBatchMetadataUpdate is a free log subscription operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*ERC721TokenTestFilterer) WatchBeaconUpgraded

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC721TokenTestFilterer) WatchInitialized

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ERC721TokenTestFilterer) WatchMetadataUpdate

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestMetadataUpdate) (event.Subscription, error)

WatchMetadataUpdate is a free log subscription operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*ERC721TokenTestFilterer) WatchOwnershipTransferred

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ERC721TokenTestFilterer) WatchTransfer

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)

func (*ERC721TokenTestFilterer) WatchUpgraded

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type ERC721TokenTestInitialized

type ERC721TokenTestInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ERC721TokenTestInitialized represents a Initialized event raised by the ERC721TokenTest contract.

type ERC721TokenTestInitializedIterator

type ERC721TokenTestInitializedIterator struct {
	Event *ERC721TokenTestInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestInitializedIterator) Next

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 ERC721TokenTestMetadataUpdate

type ERC721TokenTestMetadataUpdate struct {
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC721TokenTestMetadataUpdate represents a MetadataUpdate event raised by the ERC721TokenTest contract.

type ERC721TokenTestMetadataUpdateIterator

type ERC721TokenTestMetadataUpdateIterator struct {
	Event *ERC721TokenTestMetadataUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestMetadataUpdateIterator is returned from FilterMetadataUpdate and is used to iterate over the raw logs and unpacked data for MetadataUpdate events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestMetadataUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestMetadataUpdateIterator) Next

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 ERC721TokenTestOwnershipTransferred

type ERC721TokenTestOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ERC721TokenTestOwnershipTransferred represents a OwnershipTransferred event raised by the ERC721TokenTest contract.

type ERC721TokenTestOwnershipTransferredIterator

type ERC721TokenTestOwnershipTransferredIterator struct {
	Event *ERC721TokenTestOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestOwnershipTransferredIterator) Next

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 ERC721TokenTestRaw

type ERC721TokenTestRaw struct {
	Contract *ERC721TokenTest // Generic contract binding to access the raw methods on
}

ERC721TokenTestRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ERC721TokenTestRaw) Call

func (_ERC721TokenTest *ERC721TokenTestRaw) 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 (*ERC721TokenTestRaw) Transact

func (_ERC721TokenTest *ERC721TokenTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721TokenTestRaw) Transfer

func (_ERC721TokenTest *ERC721TokenTestRaw) 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 ERC721TokenTestSession

type ERC721TokenTestSession struct {
	Contract     *ERC721TokenTest  // 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
}

ERC721TokenTestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ERC721TokenTestSession) Approve

func (_ERC721TokenTest *ERC721TokenTestSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ERC721TokenTestSession) BalanceOf

func (_ERC721TokenTest *ERC721TokenTestSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ERC721TokenTestSession) GetApproved

func (_ERC721TokenTest *ERC721TokenTestSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ERC721TokenTestSession) Initialize

func (_ERC721TokenTest *ERC721TokenTestSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC721TokenTestSession) IsApprovedForAll

func (_ERC721TokenTest *ERC721TokenTestSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ERC721TokenTestSession) Name

func (_ERC721TokenTest *ERC721TokenTestSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*ERC721TokenTestSession) Owner

func (_ERC721TokenTest *ERC721TokenTestSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ERC721TokenTestSession) OwnerOf

func (_ERC721TokenTest *ERC721TokenTestSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ERC721TokenTestSession) ProxiableUUID

func (_ERC721TokenTest *ERC721TokenTestSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*ERC721TokenTestSession) RenounceOwnership

func (_ERC721TokenTest *ERC721TokenTestSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTestSession) SafeMint

func (_ERC721TokenTest *ERC721TokenTestSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.

Solidity: function safeMint(address to, string uri) returns()

func (*ERC721TokenTestSession) SafeTransferFrom

func (_ERC721TokenTest *ERC721TokenTestSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTestSession) SafeTransferFrom0

func (_ERC721TokenTest *ERC721TokenTestSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ERC721TokenTestSession) SetApprovalForAll

func (_ERC721TokenTest *ERC721TokenTestSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC721TokenTestSession) SupportsInterface

func (_ERC721TokenTest *ERC721TokenTestSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ERC721TokenTestSession) Symbol

func (_ERC721TokenTest *ERC721TokenTestSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*ERC721TokenTestSession) TokenURI

func (_ERC721TokenTest *ERC721TokenTestSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*ERC721TokenTestSession) TransferFrom

func (_ERC721TokenTest *ERC721TokenTestSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTestSession) TransferOwnership

func (_ERC721TokenTest *ERC721TokenTestSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ERC721TokenTestSession) UpgradeTo

func (_ERC721TokenTest *ERC721TokenTestSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*ERC721TokenTestSession) UpgradeToAndCall

func (_ERC721TokenTest *ERC721TokenTestSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type ERC721TokenTestTransactor

type ERC721TokenTestTransactor struct {
	// contains filtered or unexported fields
}

ERC721TokenTestTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewERC721TokenTestTransactor

func NewERC721TokenTestTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721TokenTestTransactor, error)

NewERC721TokenTestTransactor creates a new write-only instance of ERC721TokenTest, bound to a specific deployed contract.

func (*ERC721TokenTestTransactor) Approve

func (_ERC721TokenTest *ERC721TokenTestTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ERC721TokenTestTransactor) Initialize

func (_ERC721TokenTest *ERC721TokenTestTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC721TokenTestTransactor) RenounceOwnership

func (_ERC721TokenTest *ERC721TokenTestTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTestTransactor) SafeMint

func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri string) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.

Solidity: function safeMint(address to, string uri) returns()

func (*ERC721TokenTestTransactor) SafeTransferFrom

func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTestTransactor) SafeTransferFrom0

func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ERC721TokenTestTransactor) SetApprovalForAll

func (_ERC721TokenTest *ERC721TokenTestTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC721TokenTestTransactor) TransferFrom

func (_ERC721TokenTest *ERC721TokenTestTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTestTransactor) TransferOwnership

func (_ERC721TokenTest *ERC721TokenTestTransactor) 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()

func (*ERC721TokenTestTransactor) UpgradeTo

func (_ERC721TokenTest *ERC721TokenTestTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*ERC721TokenTestTransactor) UpgradeToAndCall

func (_ERC721TokenTest *ERC721TokenTestTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type ERC721TokenTestTransactorRaw

type ERC721TokenTestTransactorRaw struct {
	Contract *ERC721TokenTestTransactor // Generic write-only contract binding to access the raw methods on
}

ERC721TokenTestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ERC721TokenTestTransactorRaw) Transact

func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ERC721TokenTestTransactorRaw) Transfer

func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) 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 ERC721TokenTestTransactorSession

type ERC721TokenTestTransactorSession struct {
	Contract     *ERC721TokenTestTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

ERC721TokenTestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ERC721TokenTestTransactorSession) Approve

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ERC721TokenTestTransactorSession) Initialize

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC721TokenTestTransactorSession) RenounceOwnership

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTestTransactorSession) SafeMint

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.

Solidity: function safeMint(address to, string uri) returns()

func (*ERC721TokenTestTransactorSession) SafeTransferFrom

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTestTransactorSession) SafeTransferFrom0

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ERC721TokenTestTransactorSession) SetApprovalForAll

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC721TokenTestTransactorSession) TransferFrom

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTestTransactorSession) TransferOwnership

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ERC721TokenTestTransactorSession) UpgradeTo

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*ERC721TokenTestTransactorSession) UpgradeToAndCall

func (_ERC721TokenTest *ERC721TokenTestTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type ERC721TokenTestTransfer

type ERC721TokenTestTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ERC721TokenTestTransfer represents a Transfer event raised by the ERC721TokenTest contract.

type ERC721TokenTestTransferIterator

type ERC721TokenTestTransferIterator struct {
	Event *ERC721TokenTestTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestTransferIterator) Next

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 ERC721TokenTestUpgraded

type ERC721TokenTestUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

ERC721TokenTestUpgraded represents a Upgraded event raised by the ERC721TokenTest contract.

type ERC721TokenTestUpgradedIterator

type ERC721TokenTestUpgradedIterator struct {
	Event *ERC721TokenTestUpgraded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ERC721TokenTestUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC721TokenTest contract.

func (*ERC721TokenTestUpgradedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ERC721TokenTestUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestUpgradedIterator) Next

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 StakingTest

type StakingTest struct {
	StakingTestCaller     // Read-only binding to the contract
	StakingTestTransactor // Write-only binding to the contract
	StakingTestFilterer   // Log filterer for contract events
}

StakingTest is an auto generated Go binding around an Ethereum contract.

func DeployStakingTest

func DeployStakingTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StakingTest, error)

DeployStakingTest deploys a new Ethereum contract, binding an instance of StakingTest to it.

func NewStakingTest

func NewStakingTest(address common.Address, backend bind.ContractBackend) (*StakingTest, error)

NewStakingTest creates a new instance of StakingTest, bound to a specific deployed contract.

type StakingTestApproveShares

type StakingTestApproveShares struct {
	Owner     common.Address
	Spender   common.Address
	Validator string
	Shares    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingTestApproveShares represents a ApproveShares event raised by the StakingTest contract.

type StakingTestApproveSharesIterator

type StakingTestApproveSharesIterator struct {
	Event *StakingTestApproveShares // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestApproveSharesIterator is returned from FilterApproveShares and is used to iterate over the raw logs and unpacked data for ApproveShares events raised by the StakingTest contract.

func (*StakingTestApproveSharesIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestApproveSharesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestApproveSharesIterator) Next

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 StakingTestCaller

type StakingTestCaller struct {
	// contains filtered or unexported fields
}

StakingTestCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStakingTestCaller

func NewStakingTestCaller(address common.Address, caller bind.ContractCaller) (*StakingTestCaller, error)

NewStakingTestCaller creates a new read-only instance of StakingTest, bound to a specific deployed contract.

func (*StakingTestCaller) AllowanceShares

func (_StakingTest *StakingTestCaller) AllowanceShares(opts *bind.CallOpts, _val string, _owner common.Address, _spender common.Address) (*big.Int, error)

AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.

Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256)

func (*StakingTestCaller) Delegation

func (_StakingTest *StakingTestCaller) Delegation(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, *big.Int, error)

Delegation is a free data retrieval call binding the contract method 0xd5c498eb.

Solidity: function delegation(string _val, address _del) view returns(uint256, uint256)

func (*StakingTestCaller) DelegationRewards

func (_StakingTest *StakingTestCaller) DelegationRewards(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, error)

DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.

Solidity: function delegationRewards(string _val, address _del) view returns(uint256)

func (*StakingTestCaller) ValidatorShares

func (_StakingTest *StakingTestCaller) ValidatorShares(opts *bind.CallOpts, arg0 string) (*big.Int, error)

ValidatorShares is a free data retrieval call binding the contract method 0xbf98d772.

Solidity: function validatorShares(string ) view returns(uint256)

type StakingTestCallerRaw

type StakingTestCallerRaw struct {
	Contract *StakingTestCaller // Generic read-only contract binding to access the raw methods on
}

StakingTestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StakingTestCallerRaw) Call

func (_StakingTest *StakingTestCallerRaw) 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 StakingTestCallerSession

type StakingTestCallerSession struct {
	Contract *StakingTestCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

StakingTestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StakingTestCallerSession) AllowanceShares

func (_StakingTest *StakingTestCallerSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)

AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.

Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256)

func (*StakingTestCallerSession) Delegation

func (_StakingTest *StakingTestCallerSession) Delegation(_val string, _del common.Address) (*big.Int, *big.Int, error)

Delegation is a free data retrieval call binding the contract method 0xd5c498eb.

Solidity: function delegation(string _val, address _del) view returns(uint256, uint256)

func (*StakingTestCallerSession) DelegationRewards

func (_StakingTest *StakingTestCallerSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)

DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.

Solidity: function delegationRewards(string _val, address _del) view returns(uint256)

func (*StakingTestCallerSession) ValidatorShares

func (_StakingTest *StakingTestCallerSession) ValidatorShares(arg0 string) (*big.Int, error)

ValidatorShares is a free data retrieval call binding the contract method 0xbf98d772.

Solidity: function validatorShares(string ) view returns(uint256)

type StakingTestDelegate

type StakingTestDelegate struct {
	Delegator common.Address
	Validator string
	Amount    *big.Int
	Shares    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingTestDelegate represents a Delegate event raised by the StakingTest contract.

type StakingTestDelegateIterator

type StakingTestDelegateIterator struct {
	Event *StakingTestDelegate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestDelegateIterator is returned from FilterDelegate and is used to iterate over the raw logs and unpacked data for Delegate events raised by the StakingTest contract.

func (*StakingTestDelegateIterator) Close

func (it *StakingTestDelegateIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestDelegateIterator) Error

func (it *StakingTestDelegateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestDelegateIterator) Next

func (it *StakingTestDelegateIterator) 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 StakingTestDelegateV2

type StakingTestDelegateV2 struct {
	Delegator common.Address
	Validator string
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingTestDelegateV2 represents a DelegateV2 event raised by the StakingTest contract.

type StakingTestDelegateV2Iterator

type StakingTestDelegateV2Iterator struct {
	Event *StakingTestDelegateV2 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestDelegateV2Iterator is returned from FilterDelegateV2 and is used to iterate over the raw logs and unpacked data for DelegateV2 events raised by the StakingTest contract.

func (*StakingTestDelegateV2Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestDelegateV2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestDelegateV2Iterator) Next

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 StakingTestFilterer

type StakingTestFilterer struct {
	// contains filtered or unexported fields
}

StakingTestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStakingTestFilterer

func NewStakingTestFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingTestFilterer, error)

NewStakingTestFilterer creates a new log filterer instance of StakingTest, bound to a specific deployed contract.

func (*StakingTestFilterer) FilterApproveShares

func (_StakingTest *StakingTestFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StakingTestApproveSharesIterator, error)

FilterApproveShares is a free log retrieval operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.

Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)

func (*StakingTestFilterer) FilterDelegate

func (_StakingTest *StakingTestFilterer) FilterDelegate(opts *bind.FilterOpts, delegator []common.Address) (*StakingTestDelegateIterator, error)

FilterDelegate is a free log retrieval operation binding the contract event 0x5a5adf903ba232ef17ed8be4ef872e1f60d17c5ba26a1ecbf44e388a672b118a.

Solidity: event Delegate(address indexed delegator, string validator, uint256 amount, uint256 shares)

func (*StakingTestFilterer) FilterDelegateV2

func (_StakingTest *StakingTestFilterer) FilterDelegateV2(opts *bind.FilterOpts, delegator []common.Address) (*StakingTestDelegateV2Iterator, error)

FilterDelegateV2 is a free log retrieval operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.

Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)

func (*StakingTestFilterer) FilterRedelegate

func (_StakingTest *StakingTestFilterer) FilterRedelegate(opts *bind.FilterOpts, sender []common.Address) (*StakingTestRedelegateIterator, error)

FilterRedelegate is a free log retrieval operation binding the contract event 0x14e0e9558f524ca41364e4e284ebe7aabee65559c8ea32a6fca4d812e0a1d9e6.

Solidity: event Redelegate(address indexed sender, string valSrc, string valDst, uint256 shares, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) FilterRedelegateV2

func (_StakingTest *StakingTestFilterer) FilterRedelegateV2(opts *bind.FilterOpts, sender []common.Address) (*StakingTestRedelegateV2Iterator, error)

FilterRedelegateV2 is a free log retrieval operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.

Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) FilterTransferShares

func (_StakingTest *StakingTestFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StakingTestTransferSharesIterator, error)

FilterTransferShares is a free log retrieval operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.

Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)

func (*StakingTestFilterer) FilterUndelegate

func (_StakingTest *StakingTestFilterer) FilterUndelegate(opts *bind.FilterOpts, sender []common.Address) (*StakingTestUndelegateIterator, error)

FilterUndelegate is a free log retrieval operation binding the contract event 0xadff14cd34035a6bbb90fbe80979f36398f244f1885f7612e6e33a05a0b90d0f.

Solidity: event Undelegate(address indexed sender, string validator, uint256 shares, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) FilterUndelegateV2

func (_StakingTest *StakingTestFilterer) FilterUndelegateV2(opts *bind.FilterOpts, sender []common.Address) (*StakingTestUndelegateV2Iterator, error)

FilterUndelegateV2 is a free log retrieval operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.

Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) FilterWithdraw

func (_StakingTest *StakingTestFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*StakingTestWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.

Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)

func (*StakingTestFilterer) ParseApproveShares

func (_StakingTest *StakingTestFilterer) ParseApproveShares(log types.Log) (*StakingTestApproveShares, error)

ParseApproveShares is a log parse operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.

Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)

func (*StakingTestFilterer) ParseDelegate

func (_StakingTest *StakingTestFilterer) ParseDelegate(log types.Log) (*StakingTestDelegate, error)

ParseDelegate is a log parse operation binding the contract event 0x5a5adf903ba232ef17ed8be4ef872e1f60d17c5ba26a1ecbf44e388a672b118a.

Solidity: event Delegate(address indexed delegator, string validator, uint256 amount, uint256 shares)

func (*StakingTestFilterer) ParseDelegateV2

func (_StakingTest *StakingTestFilterer) ParseDelegateV2(log types.Log) (*StakingTestDelegateV2, error)

ParseDelegateV2 is a log parse operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.

Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)

func (*StakingTestFilterer) ParseRedelegate

func (_StakingTest *StakingTestFilterer) ParseRedelegate(log types.Log) (*StakingTestRedelegate, error)

ParseRedelegate is a log parse operation binding the contract event 0x14e0e9558f524ca41364e4e284ebe7aabee65559c8ea32a6fca4d812e0a1d9e6.

Solidity: event Redelegate(address indexed sender, string valSrc, string valDst, uint256 shares, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) ParseRedelegateV2

func (_StakingTest *StakingTestFilterer) ParseRedelegateV2(log types.Log) (*StakingTestRedelegateV2, error)

ParseRedelegateV2 is a log parse operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.

Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) ParseTransferShares

func (_StakingTest *StakingTestFilterer) ParseTransferShares(log types.Log) (*StakingTestTransferShares, error)

ParseTransferShares is a log parse operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.

Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)

func (*StakingTestFilterer) ParseUndelegate

func (_StakingTest *StakingTestFilterer) ParseUndelegate(log types.Log) (*StakingTestUndelegate, error)

ParseUndelegate is a log parse operation binding the contract event 0xadff14cd34035a6bbb90fbe80979f36398f244f1885f7612e6e33a05a0b90d0f.

Solidity: event Undelegate(address indexed sender, string validator, uint256 shares, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) ParseUndelegateV2

func (_StakingTest *StakingTestFilterer) ParseUndelegateV2(log types.Log) (*StakingTestUndelegateV2, error)

ParseUndelegateV2 is a log parse operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.

Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) ParseWithdraw

func (_StakingTest *StakingTestFilterer) ParseWithdraw(log types.Log) (*StakingTestWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.

Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)

func (*StakingTestFilterer) WatchApproveShares

func (_StakingTest *StakingTestFilterer) WatchApproveShares(opts *bind.WatchOpts, sink chan<- *StakingTestApproveShares, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproveShares is a free log subscription operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.

Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)

func (*StakingTestFilterer) WatchDelegate

func (_StakingTest *StakingTestFilterer) WatchDelegate(opts *bind.WatchOpts, sink chan<- *StakingTestDelegate, delegator []common.Address) (event.Subscription, error)

WatchDelegate is a free log subscription operation binding the contract event 0x5a5adf903ba232ef17ed8be4ef872e1f60d17c5ba26a1ecbf44e388a672b118a.

Solidity: event Delegate(address indexed delegator, string validator, uint256 amount, uint256 shares)

func (*StakingTestFilterer) WatchDelegateV2

func (_StakingTest *StakingTestFilterer) WatchDelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestDelegateV2, delegator []common.Address) (event.Subscription, error)

WatchDelegateV2 is a free log subscription operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.

Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)

func (*StakingTestFilterer) WatchRedelegate

func (_StakingTest *StakingTestFilterer) WatchRedelegate(opts *bind.WatchOpts, sink chan<- *StakingTestRedelegate, sender []common.Address) (event.Subscription, error)

WatchRedelegate is a free log subscription operation binding the contract event 0x14e0e9558f524ca41364e4e284ebe7aabee65559c8ea32a6fca4d812e0a1d9e6.

Solidity: event Redelegate(address indexed sender, string valSrc, string valDst, uint256 shares, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) WatchRedelegateV2

func (_StakingTest *StakingTestFilterer) WatchRedelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestRedelegateV2, sender []common.Address) (event.Subscription, error)

WatchRedelegateV2 is a free log subscription operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.

Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) WatchTransferShares

func (_StakingTest *StakingTestFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *StakingTestTransferShares, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferShares is a free log subscription operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.

Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)

func (*StakingTestFilterer) WatchUndelegate

func (_StakingTest *StakingTestFilterer) WatchUndelegate(opts *bind.WatchOpts, sink chan<- *StakingTestUndelegate, sender []common.Address) (event.Subscription, error)

WatchUndelegate is a free log subscription operation binding the contract event 0xadff14cd34035a6bbb90fbe80979f36398f244f1885f7612e6e33a05a0b90d0f.

Solidity: event Undelegate(address indexed sender, string validator, uint256 shares, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) WatchUndelegateV2

func (_StakingTest *StakingTestFilterer) WatchUndelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestUndelegateV2, sender []common.Address) (event.Subscription, error)

WatchUndelegateV2 is a free log subscription operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.

Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)

func (*StakingTestFilterer) WatchWithdraw

func (_StakingTest *StakingTestFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StakingTestWithdraw, sender []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.

Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)

type StakingTestRaw

type StakingTestRaw struct {
	Contract *StakingTest // Generic contract binding to access the raw methods on
}

StakingTestRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StakingTestRaw) Call

func (_StakingTest *StakingTestRaw) 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 (*StakingTestRaw) Transact

func (_StakingTest *StakingTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingTestRaw) Transfer

func (_StakingTest *StakingTestRaw) 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 StakingTestRedelegate

type StakingTestRedelegate struct {
	Sender         common.Address
	ValSrc         string
	ValDst         string
	Shares         *big.Int
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

StakingTestRedelegate represents a Redelegate event raised by the StakingTest contract.

type StakingTestRedelegateIterator

type StakingTestRedelegateIterator struct {
	Event *StakingTestRedelegate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestRedelegateIterator is returned from FilterRedelegate and is used to iterate over the raw logs and unpacked data for Redelegate events raised by the StakingTest contract.

func (*StakingTestRedelegateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestRedelegateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestRedelegateIterator) Next

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 StakingTestRedelegateV2

type StakingTestRedelegateV2 struct {
	Sender         common.Address
	ValSrc         string
	ValDst         string
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

StakingTestRedelegateV2 represents a RedelegateV2 event raised by the StakingTest contract.

type StakingTestRedelegateV2Iterator

type StakingTestRedelegateV2Iterator struct {
	Event *StakingTestRedelegateV2 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestRedelegateV2Iterator is returned from FilterRedelegateV2 and is used to iterate over the raw logs and unpacked data for RedelegateV2 events raised by the StakingTest contract.

func (*StakingTestRedelegateV2Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestRedelegateV2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestRedelegateV2Iterator) Next

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 StakingTestSession

type StakingTestSession struct {
	Contract     *StakingTest      // 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
}

StakingTestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StakingTestSession) AllowanceShares

func (_StakingTest *StakingTestSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)

AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.

Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256)

func (*StakingTestSession) ApproveShares

func (_StakingTest *StakingTestSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)

ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.

Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool)

func (*StakingTestSession) Delegate

func (_StakingTest *StakingTestSession) Delegate(_val string) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9ddb511a.

Solidity: function delegate(string _val) payable returns(uint256, uint256)

func (*StakingTestSession) DelegateV2

func (_StakingTest *StakingTestSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.

Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)

func (*StakingTestSession) Delegation

func (_StakingTest *StakingTestSession) Delegation(_val string, _del common.Address) (*big.Int, *big.Int, error)

Delegation is a free data retrieval call binding the contract method 0xd5c498eb.

Solidity: function delegation(string _val, address _del) view returns(uint256, uint256)

func (*StakingTestSession) DelegationRewards

func (_StakingTest *StakingTestSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)

DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.

Solidity: function delegationRewards(string _val, address _del) view returns(uint256)

func (*StakingTestSession) Redelegate

func (_StakingTest *StakingTestSession) Redelegate(_valSrc string, _valDst string, _shares *big.Int) (*types.Transaction, error)

Redelegate is a paid mutator transaction binding the contract method 0x7dd0209d.

Solidity: function redelegate(string _valSrc, string _valDst, uint256 _shares) returns(uint256, uint256, uint256)

func (*StakingTestSession) RedelegateV2

func (_StakingTest *StakingTestSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)

RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.

Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)

func (*StakingTestSession) TransferFromShares

func (_StakingTest *StakingTestSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.

Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256, uint256)

func (*StakingTestSession) TransferShares

func (_StakingTest *StakingTestSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferShares is a paid mutator transaction binding the contract method 0x161298c1.

Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256, uint256)

func (*StakingTestSession) Undelegate

func (_StakingTest *StakingTestSession) Undelegate(_val string, _shares *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string _val, uint256 _shares) returns(uint256, uint256, uint256)

func (*StakingTestSession) UndelegateV2

func (_StakingTest *StakingTestSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.

Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)

func (*StakingTestSession) ValidatorShares

func (_StakingTest *StakingTestSession) ValidatorShares(arg0 string) (*big.Int, error)

ValidatorShares is a free data retrieval call binding the contract method 0xbf98d772.

Solidity: function validatorShares(string ) view returns(uint256)

func (*StakingTestSession) Withdraw

func (_StakingTest *StakingTestSession) Withdraw(_val string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string _val) returns(uint256)

type StakingTestTransactor

type StakingTestTransactor struct {
	// contains filtered or unexported fields
}

StakingTestTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStakingTestTransactor

func NewStakingTestTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTestTransactor, error)

NewStakingTestTransactor creates a new write-only instance of StakingTest, bound to a specific deployed contract.

func (*StakingTestTransactor) ApproveShares

func (_StakingTest *StakingTestTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)

ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.

Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool)

func (*StakingTestTransactor) Delegate

func (_StakingTest *StakingTestTransactor) Delegate(opts *bind.TransactOpts, _val string) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9ddb511a.

Solidity: function delegate(string _val) payable returns(uint256, uint256)

func (*StakingTestTransactor) DelegateV2

func (_StakingTest *StakingTestTransactor) DelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)

DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.

Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)

func (*StakingTestTransactor) Redelegate

func (_StakingTest *StakingTestTransactor) Redelegate(opts *bind.TransactOpts, _valSrc string, _valDst string, _shares *big.Int) (*types.Transaction, error)

Redelegate is a paid mutator transaction binding the contract method 0x7dd0209d.

Solidity: function redelegate(string _valSrc, string _valDst, uint256 _shares) returns(uint256, uint256, uint256)

func (*StakingTestTransactor) RedelegateV2

func (_StakingTest *StakingTestTransactor) RedelegateV2(opts *bind.TransactOpts, _valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)

RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.

Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)

func (*StakingTestTransactor) TransferFromShares

func (_StakingTest *StakingTestTransactor) TransferFromShares(opts *bind.TransactOpts, _val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.

Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256, uint256)

func (*StakingTestTransactor) TransferShares

func (_StakingTest *StakingTestTransactor) TransferShares(opts *bind.TransactOpts, _val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferShares is a paid mutator transaction binding the contract method 0x161298c1.

Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256, uint256)

func (*StakingTestTransactor) Undelegate

func (_StakingTest *StakingTestTransactor) Undelegate(opts *bind.TransactOpts, _val string, _shares *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string _val, uint256 _shares) returns(uint256, uint256, uint256)

func (*StakingTestTransactor) UndelegateV2

func (_StakingTest *StakingTestTransactor) UndelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)

UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.

Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)

func (*StakingTestTransactor) Withdraw

func (_StakingTest *StakingTestTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string _val) returns(uint256)

type StakingTestTransactorRaw

type StakingTestTransactorRaw struct {
	Contract *StakingTestTransactor // Generic write-only contract binding to access the raw methods on
}

StakingTestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StakingTestTransactorRaw) Transact

func (_StakingTest *StakingTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StakingTestTransactorRaw) Transfer

func (_StakingTest *StakingTestTransactorRaw) 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 StakingTestTransactorSession

type StakingTestTransactorSession struct {
	Contract     *StakingTestTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

StakingTestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StakingTestTransactorSession) ApproveShares

func (_StakingTest *StakingTestTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)

ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.

Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool)

func (*StakingTestTransactorSession) Delegate

func (_StakingTest *StakingTestTransactorSession) Delegate(_val string) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9ddb511a.

Solidity: function delegate(string _val) payable returns(uint256, uint256)

func (*StakingTestTransactorSession) DelegateV2

func (_StakingTest *StakingTestTransactorSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.

Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)

func (*StakingTestTransactorSession) Redelegate

func (_StakingTest *StakingTestTransactorSession) Redelegate(_valSrc string, _valDst string, _shares *big.Int) (*types.Transaction, error)

Redelegate is a paid mutator transaction binding the contract method 0x7dd0209d.

Solidity: function redelegate(string _valSrc, string _valDst, uint256 _shares) returns(uint256, uint256, uint256)

func (*StakingTestTransactorSession) RedelegateV2

func (_StakingTest *StakingTestTransactorSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)

RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.

Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)

func (*StakingTestTransactorSession) TransferFromShares

func (_StakingTest *StakingTestTransactorSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.

Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256, uint256)

func (*StakingTestTransactorSession) TransferShares

func (_StakingTest *StakingTestTransactorSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferShares is a paid mutator transaction binding the contract method 0x161298c1.

Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256, uint256)

func (*StakingTestTransactorSession) Undelegate

func (_StakingTest *StakingTestTransactorSession) Undelegate(_val string, _shares *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string _val, uint256 _shares) returns(uint256, uint256, uint256)

func (*StakingTestTransactorSession) UndelegateV2

func (_StakingTest *StakingTestTransactorSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.

Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)

func (*StakingTestTransactorSession) Withdraw

func (_StakingTest *StakingTestTransactorSession) Withdraw(_val string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string _val) returns(uint256)

type StakingTestTransferShares

type StakingTestTransferShares struct {
	From      common.Address
	To        common.Address
	Validator string
	Shares    *big.Int
	Token     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingTestTransferShares represents a TransferShares event raised by the StakingTest contract.

type StakingTestTransferSharesIterator

type StakingTestTransferSharesIterator struct {
	Event *StakingTestTransferShares // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestTransferSharesIterator is returned from FilterTransferShares and is used to iterate over the raw logs and unpacked data for TransferShares events raised by the StakingTest contract.

func (*StakingTestTransferSharesIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestTransferSharesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestTransferSharesIterator) Next

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 StakingTestUndelegate

type StakingTestUndelegate struct {
	Sender         common.Address
	Validator      string
	Shares         *big.Int
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

StakingTestUndelegate represents a Undelegate event raised by the StakingTest contract.

type StakingTestUndelegateIterator

type StakingTestUndelegateIterator struct {
	Event *StakingTestUndelegate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestUndelegateIterator is returned from FilterUndelegate and is used to iterate over the raw logs and unpacked data for Undelegate events raised by the StakingTest contract.

func (*StakingTestUndelegateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestUndelegateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestUndelegateIterator) Next

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 StakingTestUndelegateV2

type StakingTestUndelegateV2 struct {
	Sender         common.Address
	Validator      string
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

StakingTestUndelegateV2 represents a UndelegateV2 event raised by the StakingTest contract.

type StakingTestUndelegateV2Iterator

type StakingTestUndelegateV2Iterator struct {
	Event *StakingTestUndelegateV2 // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestUndelegateV2Iterator is returned from FilterUndelegateV2 and is used to iterate over the raw logs and unpacked data for UndelegateV2 events raised by the StakingTest contract.

func (*StakingTestUndelegateV2Iterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestUndelegateV2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestUndelegateV2Iterator) Next

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 StakingTestWithdraw

type StakingTestWithdraw struct {
	Sender    common.Address
	Validator string
	Reward    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

StakingTestWithdraw represents a Withdraw event raised by the StakingTest contract.

type StakingTestWithdrawIterator

type StakingTestWithdrawIterator struct {
	Event *StakingTestWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StakingTestWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the StakingTest contract.

func (*StakingTestWithdrawIterator) Close

func (it *StakingTestWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*StakingTestWithdrawIterator) Error

func (it *StakingTestWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestWithdrawIterator) Next

func (it *StakingTestWithdrawIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL