contract

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 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\":[{\"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: "0x608060405234801561001057600080fd5b50610cea806100206000396000f3fe60806040526004361061003f5760003560e01c80630b56c19014610044578063160d7c73146100795780638fefb7651461008c578063c79a6b7b146100ba575b600080fd5b34801561005057600080fd5b5061006461005f3660046109ff565b6100cd565b60405190151581526020015b60405180910390f35b6100646100873660046108e8565b6100e0565b34801561009857600080fd5b506100ac6100a73660046108bf565b610397565b604051908152602001610070565b6100646100c8366004610a42565b6103a3565b60006100d983836103ba565b9392505050565b60006001600160a01b03871615610230576001600160a01b0387166323b872dd333061010c888a610c4a565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561015b57600080fd5b505af115801561016f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101939190610975565b506001600160a01b03871663095ea7b36110046101b08789610c4a565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156101f657600080fd5b505af115801561020a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022e9190610975565b505b6001600160a01b0387161561032657604051636eb1769f60e11b815230600482015261100460248201526000906001600160a01b0389169063dd62ed3e9060440160206040518083038186803b15801561028957600080fd5b505afa15801561029d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c19190610a9f565b90506102cd8587610c4a565b81146103205760405162461bcd60e51b815260206004820181905260248201527f616c6c6f77616e6365206e6f7420657175616c20616d6f756e74202b2066656560448201526064015b60405180910390fd5b5061037e565b6103308486610c4a565b341461037e5760405162461bcd60e51b815260206004820181905260248201527f6d73672e76616c7565206e6f7420657175616c20616d6f756e74202b206665656044820152606401610317565b61038c878787878787610468565b979650505050505050565b60006100d9838361051d565b60006103b18585858561060a565b95945050505050565b600080806110046103cb86866106ba565b6040516103d89190610ae3565b6000604051808303816000865af19150503d8060008114610415576040519150601f19603f3d011682016040523d82523d6000602084013e61041a565b606091505b509150915061045f82826040518060400160405280601e81526020017f63616e63656c2073656e6420746f2065787465726e616c206661696c65640000815250610701565b6103b181610780565b600080806110043461047e8b8b8b8b8b8b6107a0565b60405161048b9190610ae3565b60006040518083038185875af1925050503d80600081146104c8576040519150601f19603f3d011682016040523d82523d6000602084013e6104cd565b606091505b509150915061050782826040518060400160405280601281526020017118dc9bdcdccb58da185a5b8819985a5b195960721b815250610701565b61051081610780565b9998505050505050505050565b6000808061100461057a86866040516001600160a01b03831660248201526044810182905260609060640160408051601f198184030181529190526020810180516001600160e01b0316638fefb76560e01b179052905092915050565b6040516105879190610ae3565b600060405180830381855afa9150503d80600081146105c2576040519150601f19603f3d011682016040523d82523d6000602084013e6105c7565b606091505b5091509150610601828260405180604001604052806012815260200171189c9a5919d94818dbda5b8819985a5b195960721b815250610701565b6103b1816107f3565b6000808061100461061d8888888861080a565b60405161062a9190610ae3565b6000604051808303816000865af19150503d8060008114610667576040519150601f19603f3d011682016040523d82523d6000602084013e61066c565b606091505b50915091506106b182826040518060400160405280601a81526020017f696e6372656173652062726964676520666565206661696c6564000000000000815250610701565b61038c81610780565b606082826040516024016106cf929190610b97565b60408051601f198184030181529190526020810180516001600160e01b031663eeb3593d60e01b179052905092915050565b8261077b5760008280602001905181019061071c9190610995565b9050600182511015610742578060405162461bcd60e51b81526004016103179190610b84565b8181604051602001610755929190610aff565b60408051601f198184030181529082905262461bcd60e51b825261031791600401610b84565b505050565b600080828060200190518101906107979190610975565b9150505b919050565b60608686868686866040516024016107bd96959493929190610b3c565b60408051601f198184030181529190526020810180516001600160e01b031663160d7c7360e01b17905290509695505050505050565b600080828060200190518101906107979190610a9f565b6060848484846040516024016108239493929190610bb9565b60408051601f198184030181529190526020810180516001600160e01b0316639b45009d60e01b1790529050949350505050565b80356001600160a01b038116811461079b57600080fd5b600082601f83011261087e578081fd5b813561089161088c82610c22565b610bf1565b8181528460208386010111156108a5578283fd5b816020850160208301379081016020019190915292915050565b600080604083850312156108d1578182fd5b6108da83610857565b946020939093013593505050565b60008060008060008060c08789031215610900578182fd5b61090987610857565b9550602087013567ffffffffffffffff80821115610925578384fd5b6109318a838b0161086e565b965060408901359550606089013594506080890135935060a089013591508082111561095b578283fd5b5061096889828a0161086e565b9150509295509295509295565b600060208284031215610986578081fd5b815180151581146100d9578182fd5b6000602082840312156109a6578081fd5b815167ffffffffffffffff8111156109bc578182fd5b8201601f810184136109cc578182fd5b80516109da61088c82610c22565b8181528560208385010111156109ee578384fd5b6103b1826020830160208601610c6e565b60008060408385031215610a11578182fd5b823567ffffffffffffffff811115610a27578283fd5b610a338582860161086e565b95602094909401359450505050565b60008060008060808587031215610a57578384fd5b843567ffffffffffffffff811115610a6d578485fd5b610a798782880161086e565b94505060208501359250610a8f60408601610857565b9396929550929360600135925050565b600060208284031215610ab0578081fd5b5051919050565b60008151808452610acf816020860160208601610c6e565b601f01601f19169290920160200192915050565b60008251610af5818460208701610c6e565b9190910192915050565b60008351610b11818460208801610c6e565b6101d160f51b9083019081528351610b30816002840160208801610c6e565b01600201949350505050565b6001600160a01b038716815260c060208201819052600090610b6090830188610ab7565b86604084015285606084015284608084015282810360a08401526105108185610ab7565b6000602082526100d96020830184610ab7565b600060408252610baa6040830185610ab7565b90508260208301529392505050565b600060808252610bcc6080830187610ab7565b6020830195909552506001600160a01b03929092166040830152606090910152919050565b604051601f8201601f1916810167ffffffffffffffff81118282101715610c1a57610c1a610c9e565b604052919050565b600067ffffffffffffffff821115610c3c57610c3c610c9e565b50601f01601f191660200190565b60008219821115610c6957634e487b7160e01b81526011600452602481fd5b500190565b60005b83811015610c89578181015183820152602001610c71565b83811115610c98576000848401525b50505050565b634e487b7160e01b600052604160045260246000fdfea264697066735822122035d403e3435759d42b917f4b5349cdbee214ce1df1cda8b106e6282816b673e964736f6c63430008020033",
}

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\":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\":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: "0x60a06040523060601b60805234801561001757600080fd5b50610020610025565b6100e5565b600054610100900460ff16156100915760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff90811610156100e3576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b60805160601c6123536200012060003960008181610660015281816106a00152818161075b0152818161079b015261082e01526123536000f3fe60806040526004361061012a5760003560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb46514610313578063b88d4fde14610333578063c87b56dd14610353578063d204c45e14610373578063e985e9c514610393578063f2fde38b146103dc5761012a565b806370a0823114610296578063715018a6146102b65780638129fc1c146102cb5780638da5cb5b146102e057806395d89b41146102fe5761012a565b80633659cfe6116100f25780633659cfe61461020057806342842e0e146102205780634f1ef2861461024057806352d1902d146102535780636352211e146102765761012a565b806301ffc9a71461012f57806306fdde0314610164578063081812fc14610186578063095ea7b3146101be57806323b872dd146101e0575b600080fd5b34801561013b57600080fd5b5061014f61014a366004611f65565b6103fc565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b50610179610450565b60405161015b9190612069565b34801561019257600080fd5b506101a66101a1366004611f9d565b6104e2565b6040516001600160a01b03909116815260200161015b565b3480156101ca57600080fd5b506101de6101d9366004611f24565b610509565b005b3480156101ec57600080fd5b506101de6101fb366004611da8565b610624565b34801561020c57600080fd5b506101de61021b366004611d5c565b610655565b34801561022c57600080fd5b506101de61023b366004611da8565b610735565b6101de61024e366004611e83565b610750565b34801561025f57600080fd5b50610268610821565b60405190815260200161015b565b34801561028257600080fd5b506101a6610291366004611f9d565b6108d4565b3480156102a257600080fd5b506102686102b1366004611d5c565b610934565b3480156102c257600080fd5b506101de6109ba565b3480156102d757600080fd5b506101de6109ce565b3480156102ec57600080fd5b5060c9546001600160a01b03166101a6565b34801561030a57600080fd5b50610179610b3a565b34801561031f57600080fd5b506101de61032e366004611e49565b610b49565b34801561033f57600080fd5b506101de61034e366004611de3565b610b54565b34801561035f57600080fd5b5061017961036e366004611f9d565b610b8c565b34801561037f57600080fd5b506101de61038e366004611ecf565b610b97565b34801561039f57600080fd5b5061014f6103ae366004611d76565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b3480156103e857600080fd5b506101de6103f7366004611d5c565b610bd0565b60006001600160e01b031982166380ac58cd60e01b148061042d57506001600160e01b03198216635b5e139f60e01b145b8061044857506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606065805461045f9061226f565b80601f016020809104026020016040519081016040528092919081815260200182805461048b9061226f565b80156104d85780601f106104ad576101008083540402835291602001916104d8565b820191906000526020600020905b8154815290600101906020018083116104bb57829003601f168201915b5050505050905090565b60006104ed82610c46565b506000908152606960205260409020546001600160a01b031690565b6000610514826108d4565b9050806001600160a01b0316836001600160a01b031614156105875760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105a357506105a381336103ae565b6106155760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161057e565b61061f8383610ca5565b505050565b61062e3382610d13565b61064a5760405162461bcd60e51b815260040161057e9061207c565b61061f838383610d92565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561069e5760405162461bcd60e51b815260040161057e90612160565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106e76000805160206122d7833981519152546001600160a01b031690565b6001600160a01b03161461070d5760405162461bcd60e51b815260040161057e906121ac565b61071681610ef6565b6040805160008082526020820190925261073291839190610efe565b50565b61061f83838360405180602001604052806000815250610b54565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107995760405162461bcd60e51b815260040161057e90612160565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107e26000805160206122d7833981519152546001600160a01b031690565b6001600160a01b0316146108085760405162461bcd60e51b815260040161057e906121ac565b61081182610ef6565b61081d82826001610efe565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108c15760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161057e565b506000805160206122d783398151915290565b6000818152606760205260408120546001600160a01b0316806104485760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161057e565b60006001600160a01b03821661099e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161057e565b506001600160a01b031660009081526068602052604090205490565b6109c261107d565b6109cc60006110d7565b565b600054610100900460ff16158080156109ee5750600054600160ff909116105b80610a085750303b158015610a08575060005460ff166001145b610a6b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161057e565b6000805460ff191660011790558015610a8e576000805461ff0019166101001790555b610ada6040518060400160405280600f81526020016e115490cdcc8c551bdad95b95195cdd608a1b8152506040518060400160405280600381526020016215151560ea1b815250611129565b610ae261115a565b610aea611181565b610af261115a565b8015610732576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b60606066805461045f9061226f565b61081d3383836111b0565b610b5e3383610d13565b610b7a5760405162461bcd60e51b815260040161057e9061207c565b610b868484848461127f565b50505050565b6060610448826112b2565b610b9f61107d565b6000610bab61015f5490565b9050610bbc61015f80546001019055565b610bc683826113d3565b61061f81836113ed565b610bd861107d565b6001600160a01b038116610c3d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161057e565b610732816110d7565b6000818152606760205260409020546001600160a01b03166107325760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161057e565b600081815260696020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cda826108d4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610d1f836108d4565b9050806001600160a01b0316846001600160a01b03161480610d6657506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b80610d8a5750836001600160a01b0316610d7f846104e2565b6001600160a01b0316145b949350505050565b826001600160a01b0316610da5826108d4565b6001600160a01b031614610dcb5760405162461bcd60e51b815260040161057e9061211b565b6001600160a01b038216610e2d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161057e565b826001600160a01b0316610e40826108d4565b6001600160a01b031614610e665760405162461bcd60e51b815260040161057e9061211b565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461061f565b61073261107d565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610f3657610f3183611487565b61061f565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6f57600080fd5b505afa925050508015610f9f575060408051601f3d908101601f19168201909252610f9c91810190611f4d565b60015b6110025760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161057e565b6000805160206122d783398151915281146110715760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161057e565b5061061f838383611523565b60c9546001600160a01b031633146109cc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057e565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166111505760405162461bcd60e51b815260040161057e906121f8565b61081d8282611548565b600054610100900460ff166109cc5760405162461bcd60e51b815260040161057e906121f8565b600054610100900460ff166111a85760405162461bcd60e51b815260040161057e906121f8565b6109cc611596565b816001600160a01b0316836001600160a01b031614156112125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161057e565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61128a848484610d92565b611296848484846115c6565b610b865760405162461bcd60e51b815260040161057e906120c9565b60606112bd82610c46565b600082815260976020526040812080546112d69061226f565b80601f01602080910402602001604051908101604052809291908181526020018280546113029061226f565b801561134f5780601f106113245761010080835404028352916020019161134f565b820191906000526020600020905b81548152906001019060200180831161133257829003601f168201915b50505050509050600061138460408051808201909152600f81526e1a5c199cce8bcbdd195cdd0b5d5c9b608a1b602082015290565b90508051600014156113985750905061044b565b8151156113ca5780826040516020016113b2929190611ffd565b6040516020818303038152906040529250505061044b565b610d8a846116d3565b61081d82826040518060200160405280600081525061175e565b6000828152606760205260409020546001600160a01b03166114685760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161057e565b6000828152609760209081526040909120825161061f92840190611c17565b6001600160a01b0381163b6114f45760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161057e565b6000805160206122d783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61152c83611791565b6000825111806115395750805b1561061f57610b8683836117d1565b600054610100900460ff1661156f5760405162461bcd60e51b815260040161057e906121f8565b8151611582906065906020850190611c17565b50805161061f906066906020840190611c17565b600054610100900460ff166115bd5760405162461bcd60e51b815260040161057e906121f8565b6109cc336110d7565b60006001600160a01b0384163b156116c857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061160a90339089908890889060040161202c565b602060405180830381600087803b15801561162457600080fd5b505af1925050508015611654575060408051601f3d908101601f1916820190925261165191810190611f81565b60015b6116ae573d808015611682576040519150601f19603f3d011682016040523d82523d6000602084013e611687565b606091505b5080516116a65760405162461bcd60e51b815260040161057e906120c9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d8a565b506001949350505050565b60606116de82610c46565b600061170c60408051808201909152600f81526e1a5c199cce8bcbdd195cdd0b5d5c9b608a1b602082015290565b9050600081511161172c5760405180602001604052806000815250611757565b80611736846118c5565b604051602001611747929190611ffd565b6040516020818303038152906040525b9392505050565b6117688383611970565b61177560008484846115c6565b61061f5760405162461bcd60e51b815260040161057e906120c9565b61179a81611487565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6118395760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161057e565b600080846001600160a01b0316846040516118549190611fe1565b600060405180830381855af49150503d806000811461188f576040519150601f19603f3d011682016040523d82523d6000602084013e611894565b606091505b50915091506118bc82826040518060600160405280602781526020016122f760279139611afc565b95945050505050565b606060006118d283611b15565b600101905060008167ffffffffffffffff81111561190057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561192a576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461196357611968565b611934565b509392505050565b6001600160a01b0382166119c65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161057e565b6000818152606760205260409020546001600160a01b031615611a2b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161057e565b6000818152606760205260409020546001600160a01b031615611a905760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161057e565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461081d565b60608315611b0b575081611757565b6117578383611bed565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b545772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b80576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b9e57662386f26fc10000830492506010015b6305f5e1008310611bb6576305f5e100830492506008015b6127108310611bca57612710830492506004015b60648310611bdc576064830492506002015b600a83106104485760010192915050565b815115611bfd5781518083602001fd5b8060405162461bcd60e51b815260040161057e9190612069565b828054611c239061226f565b90600052602060002090601f016020900481019282611c455760008555611c8b565b82601f10611c5e57805160ff1916838001178555611c8b565b82800160010185558215611c8b579182015b82811115611c8b578251825591602001919060010190611c70565b50611c97929150611c9b565b5090565b5b80821115611c975760008155600101611c9c565b600067ffffffffffffffff80841115611ccb57611ccb6122aa565b604051601f8501601f19908116603f01168101908282118183101715611cf357611cf36122aa565b81604052809350858152868686011115611d0c57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461044b57600080fd5b600082601f830112611d4d578081fd5b61175783833560208501611cb0565b600060208284031215611d6d578081fd5b61175782611d26565b60008060408385031215611d88578081fd5b611d9183611d26565b9150611d9f60208401611d26565b90509250929050565b600080600060608486031215611dbc578081fd5b611dc584611d26565b9250611dd360208501611d26565b9150604084013590509250925092565b60008060008060808587031215611df8578081fd5b611e0185611d26565b9350611e0f60208601611d26565b925060408501359150606085013567ffffffffffffffff811115611e31578182fd5b611e3d87828801611d3d565b91505092959194509250565b60008060408385031215611e5b578182fd5b611e6483611d26565b915060208301358015158114611e78578182fd5b809150509250929050565b60008060408385031215611e95578182fd5b611e9e83611d26565b9150602083013567ffffffffffffffff811115611eb9578182fd5b611ec585828601611d3d565b9150509250929050565b60008060408385031215611ee1578182fd5b611eea83611d26565b9150602083013567ffffffffffffffff811115611f05578182fd5b8301601f81018513611f15578182fd5b611ec585823560208401611cb0565b60008060408385031215611f36578182fd5b611f3f83611d26565b946020939093013593505050565b600060208284031215611f5e578081fd5b5051919050565b600060208284031215611f76578081fd5b8135611757816122c0565b600060208284031215611f92578081fd5b8151611757816122c0565b600060208284031215611fae578081fd5b5035919050565b60008151808452611fcd816020860160208601612243565b601f01601f19169290920160200192915050565b60008251611ff3818460208701612243565b9190910192915050565b6000835161200f818460208801612243565b835190830190612023818360208801612243565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061205f90830184611fb5565b9695505050505050565b6000602082526117576020830184611fb5565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b8381101561225e578181015183820152602001612246565b83811115610b865750506000910152565b60028104600182168061228357607f821691505b602082108114156122a457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461073257600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220bd2693924b842c669c62b22c0b6678eb51ad3bcf35e6481ab6f48e18b211239364736f6c63430008020033",
}

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\":\"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\":\"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\":\"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\":\"_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\":\"\",\"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: "0x608060405234801561001057600080fd5b506112fa806100206000396000f3fe6080604052600436106100915760003560e01c80638dfc8897116100595780638dfc88971461016e5780639ddb511a146101a9578063bf98d772146101bc578063d5c498eb146101f4578063dc6ffc7d1461021457610091565b8063161298c11461009657806331fb67c2146100d057806349da433e146100fe57806351af513a1461012e5780637b625c0f1461014e575b600080fd5b3480156100a257600080fd5b506100b66100b1366004610f65565b610234565b604080519283526020830191909152015b60405180910390f35b3480156100dc57600080fd5b506100f06100eb366004610dbc565b610253565b6040519081526020016100c7565b34801561010a57600080fd5b5061011e610119366004610f65565b610268565b60405190151581526020016100c7565b34801561013a57600080fd5b506100f0610149366004610e59565b61027f565b34801561015a57600080fd5b506100f0610169366004610ea5565b610292565b34801561017a57600080fd5b5061018e610189366004610fba565b6102a7565b604080519384526020840192909252908201526060016100c7565b6100b66101b7366004610dbc565b610300565b3480156101c857600080fd5b506100f06101d7366004610dbc565b805160208183018101805160008252928201919093012091525481565b34801561020057600080fd5b506100b661020f366004610e59565b610351565b34801561022057600080fd5b506100b661022f366004610f01565b610369565b60008060008061024587878761038a565b909890975095505050505050565b60008061025f83610441565b9150505b919050565b6000806102768585856104e0565b95945050505050565b600061028b8383610591565b9392505050565b600061029f84848461063d565b949350505050565b6000806000806000806102ba88886106ea565b925092509250866000896040516102d19190611091565b908152602001604051809103902060008282546102ee9190611251565b90915550929891975095509350505050565b600080600080610310853461079d565b91509150816000866040516103259190611091565b908152602001604051809103902060008282546103429190611239565b90915550919350915050915091565b60008061035e848461084b565b915091509250929050565b60008060008061037b888888886108e3565b90999098509650505050505050565b600080808061100361039d8888886109a3565b6040516103aa9190611091565b6000604051808303816000865af19150503d80600081146103e7576040519150601f19603f3d011682016040523d82523d6000602084013e6103ec565b606091505b509150915061042a8282604051806040016040528060168152602001751d1c985b9cd9995c881cda185c995cc819985a5b195960521b8152506109ed565b61043381610a75565b935093505050935093915050565b6000808061100361045185610a9b565b60405161045e9190611091565b6000604051808303816000865af19150503d806000811461049b576040519150601f19603f3d011682016040523d82523d6000602084013e6104a0565b606091505b50915091506104d782826040518060400160405280600f81526020016e1dda5d1a191c985dc819985a5b1959608a1b8152506109ed565b61029f81610adf565b600080806110036104f2878787610af6565b6040516104ff9190611091565b6000604051808303816000865af19150503d806000811461053c576040519150601f19603f3d011682016040523d82523d6000602084013e610541565b606091505b509150915061057e828260405180604001604052806015815260200174185c1c1c9bdd99481cda185c995cc819985a5b1959605a1b8152506109ed565b61058781610b40565b9695505050505050565b600080806110036105a28686610b57565b6040516105af9190611091565b600060405180830381855afa9150503d80600081146105ea576040519150601f19603f3d011682016040523d82523d6000602084013e6105ef565b606091505b509150915061063482826040518060400160405280601881526020017f64656c65676174696f6e52657761726473206661696c656400000000000000008152506109ed565b61027681610adf565b6000808061100361064f878787610b9e565b60405161065c9190611091565b600060405180830381855afa9150503d8060008114610697576040519150601f19603f3d011682016040523d82523d6000602084013e61069c565b606091505b50915091506106e182826040518060400160405280601781526020017f616c6c6f77616e636520736861726573206661696c65640000000000000000008152506109ed565b61058781610adf565b6000808080806110036106fd8888610be8565b60405161070a9190611091565b6000604051808303816000865af19150503d8060008114610747576040519150601f19603f3d011682016040523d82523d6000602084013e61074c565b606091505b50915091506107858282604051806040016040528060118152602001701d5b99195b1959d85d194819985a5b1959607a1b8152506109ed565b61078e81610c2f565b94509450945050509250925092565b6000808080611003856107af88610c5c565b6040516107bc9190611091565b60006040518083038185875af1925050503d80600081146107f9576040519150601f19603f3d011682016040523d82523d6000602084013e6107fe565b606091505b509150915061083582826040518060400160405280600f81526020016e19195b1959d85d194819985a5b1959608a1b8152506109ed565b61083e81610a75565b9350935050509250929050565b600080808061100361085d8787610ca0565b60405161086a9190611091565b600060405180830381855afa9150503d80600081146108a5576040519150601f19603f3d011682016040523d82523d6000602084013e6108aa565b606091505b509150915061083582826040518060400160405280601181526020017019195b1959d85d1a5bdb8819985a5b1959607a1b8152506109ed565b60008080806110036108f789898989610ce7565b6040516109049190611091565b6000604051808303816000865af19150503d8060008114610941576040519150601f19603f3d011682016040523d82523d6000602084013e610946565b606091505b509150915061098b82826040518060400160405280601a81526020017f7472616e7366657246726f6d20736861726573206661696c65640000000000008152506109ed565b61099481610a75565b93509350505094509492505050565b60608383836040516024016109ba93929190611190565b60408051601f198184030181529190526020810180516001600160e01b031663161298c160e01b17905290509392505050565b82610a7057600082806020019051810190610a089190610def565b9050600182511015610a37578060405162461bcd60e51b8152600401610a2e91906110ea565b60405180910390fd5b8181604051602001610a4a9291906110ad565b60408051601f198184030181529082905262461bcd60e51b8252610a2e916004016110ea565b505050565b60008060008084806020019051810190610a8f9190611015565b90945092505050915091565b606081604051602401610aae91906110ea565b60408051601f198184030181529190526020810180516001600160e01b03166318fdb3e160e11b1790529050919050565b6000808280602001905181019061025f9190610ffd565b6060838383604051602401610b0d93929190611190565b60408051601f198184030181529190526020810180516001600160e01b03166324ed219f60e11b17905290509392505050565b6000808280602001905181019061025f9190610d9c565b60608282604051602401610b6c9291906110fd565b60408051601f198184030181529190526020810180516001600160e01b03166328d7a89d60e11b179052905092915050565b6060838383604051602401610bb593929190611127565b60408051601f198184030181529190526020810180516001600160e01b0316637b625c0f60e01b17905290509392505050565b60608282604051602401610bfd9291906111be565b60408051601f198184030181529190526020810180516001600160e01b0316638dfc889760e01b179052905092915050565b60008060008060008086806020019051810190610c4c9190611038565b9199909850909650945050505050565b606081604051602401610c6f91906110ea565b60408051601f198184030181529190526020810180516001600160e01b0316634eeda88d60e11b1790529050919050565b60608282604051602401610cb59291906110fd565b60408051601f198184030181529190526020810180516001600160e01b031663d5c498eb60e01b179052905092915050565b606084848484604051602401610d00949392919061115a565b60408051601f198184030181529190526020810180516001600160e01b031663dc6ffc7d60e01b1790529050949350505050565b80356001600160a01b038116811461026357600080fd5b600082601f830112610d5b578081fd5b8135610d6e610d6982611211565b6111e0565b818152846020838601011115610d82578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215610dad578081fd5b8151801515811461028b578182fd5b600060208284031215610dcd578081fd5b813567ffffffffffffffff811115610de3578182fd5b61029f84828501610d4b565b600060208284031215610e00578081fd5b815167ffffffffffffffff811115610e16578182fd5b8201601f81018413610e26578182fd5b8051610e34610d6982611211565b818152856020838501011115610e48578384fd5b610276826020830160208601611268565b60008060408385031215610e6b578081fd5b823567ffffffffffffffff811115610e81578182fd5b610e8d85828601610d4b565b925050610e9c60208401610d34565b90509250929050565b600080600060608486031215610eb9578081fd5b833567ffffffffffffffff811115610ecf578182fd5b610edb86828701610d4b565b935050610eea60208501610d34565b9150610ef860408501610d34565b90509250925092565b60008060008060808587031215610f16578081fd5b843567ffffffffffffffff811115610f2c578182fd5b610f3887828801610d4b565b945050610f4760208601610d34565b9250610f5560408601610d34565b9396929550929360600135925050565b600080600060608486031215610f79578283fd5b833567ffffffffffffffff811115610f8f578384fd5b610f9b86828701610d4b565b935050610faa60208501610d34565b9150604084013590509250925092565b60008060408385031215610fcc578182fd5b823567ffffffffffffffff811115610fe2578283fd5b610fee85828601610d4b565b95602094909401359450505050565b60006020828403121561100e578081fd5b5051919050565b60008060408385031215611027578182fd5b505080516020909101519092909150565b60008060006060848603121561104c578283fd5b8351925060208401519150604084015190509250925092565b6000815180845261107d816020860160208601611268565b601f01601f19169290920160200192915050565b600082516110a3818460208701611268565b9190910192915050565b600083516110bf818460208801611268565b6101d160f51b90830190815283516110de816002840160208801611268565b01600201949350505050565b60006020825261028b6020830184611065565b6000604082526111106040830185611065565b905060018060a01b03831660208301529392505050565b60006060825261113a6060830186611065565b6001600160a01b0394851660208401529290931660409091015292915050565b60006080825261116d6080830187611065565b6001600160a01b0395861660208401529390941660408201526060015292915050565b6000606082526111a36060830186611065565b6001600160a01b039490941660208301525060400152919050565b6000604082526111d16040830185611065565b90508260208301529392505050565b604051601f8201601f1916810167ffffffffffffffff81118282101715611209576112096112ae565b604052919050565b600067ffffffffffffffff82111561122b5761122b6112ae565b50601f01601f191660200190565b6000821982111561124c5761124c611298565b500190565b60008282101561126357611263611298565b500390565b60005b8381101561128357818101518382015260200161126b565b83811115611292576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212208411557364edf7752900c7198cd07b06c26b7d6c8cb20f7bea0058a89246464464736f6c63430008020033",
}

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)

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)

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) 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 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) 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) 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) 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) 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) 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) 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 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 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) 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) 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) 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) 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) 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) 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 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) 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) 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) 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) 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) 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) 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) 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 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