contract

package
v7.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

CrossChainTestMetaData contains all meta data concerning the CrossChainTest contract.

View Source
var ERC721TokenTestABI = ERC721TokenTestMetaData.ABI

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

View Source
var ERC721TokenTestBin = ERC721TokenTestMetaData.Bin

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

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

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\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valDst\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"Redelegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"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\":\"_valSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_valDst\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"redelegate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_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: "0x608060405234801561001057600080fd5b50611555806100206000396000f3fe60806040526004361061009c5760003560e01c80637dd0209d116100645780637dd0209d146101795780638dfc8897146101b45780639ddb511a146101d4578063bf98d772146101e7578063d5c498eb1461021f578063dc6ffc7d1461023f5761009c565b8063161298c1146100a157806331fb67c2146100db57806349da433e1461010957806351af513a146101395780637b625c0f14610159575b600080fd5b3480156100ad57600080fd5b506100c16100bc366004611120565b61025f565b604080519283526020830191909152015b60405180910390f35b3480156100e757600080fd5b506100fb6100f6366004610f77565b61027e565b6040519081526020016100d2565b34801561011557600080fd5b50610129610124366004611120565b610293565b60405190151581526020016100d2565b34801561014557600080fd5b506100fb610154366004611014565b6102aa565b34801561016557600080fd5b506100fb610174366004611060565b6102bd565b34801561018557600080fd5b50610199610194366004611175565b6102d2565b604080519384526020840192909252908201526060016100d2565b3480156101c057600080fd5b506101996101cf3660046111df565b610362565b6100c16101e2366004610f77565b6103bb565b3480156101f357600080fd5b506100fb610202366004610f77565b805160208183018101805160008252928201919093012091525481565b34801561022b57600080fd5b506100c161023a366004611014565b61040c565b34801561024b57600080fd5b506100c161025a3660046110bc565b610424565b600080600080610270878787610445565b909890975095505050505050565b60008061028a836104fc565b9150505b919050565b6000806102a185858561059b565b95945050505050565b60006102b6838361064c565b9392505050565b60006102ca8484846106f8565b949350505050565b6000806000806000806102e68989896107a5565b9250925092508660008a6040516102fd91906112b6565b9081526020016040518091039020600082825461031a91906114ac565b925050819055508660008960405161033291906112b6565b9081526020016040518091039020600082825461034f9190611494565b9091555092999198509650945050505050565b600080600080600080610375888861085b565b9250925092508660008960405161038c91906112b6565b908152602001604051809103902060008282546103a991906114ac565b90915550929891975095509350505050565b6000806000806103cb853461090e565b91509150816000866040516103e091906112b6565b908152602001604051809103902060008282546103fd9190611494565b90915550919350915050915091565b60008061041984846109bc565b915091509250929050565b60008060008061043688888888610a54565b90999098509650505050505050565b6000808080611003610458888888610b14565b60405161046591906112b6565b6000604051808303816000865af19150503d80600081146104a2576040519150601f19603f3d011682016040523d82523d6000602084013e6104a7565b606091505b50915091506104e58282604051806040016040528060168152602001751d1c985b9cd9995c881cda185c995cc819985a5b195960521b815250610b5e565b6104ee81610be6565b935093505050935093915050565b6000808061100361050c85610c0c565b60405161051991906112b6565b6000604051808303816000865af19150503d8060008114610556576040519150601f19603f3d011682016040523d82523d6000602084013e61055b565b606091505b509150915061059282826040518060400160405280600f81526020016e1dda5d1a191c985dc819985a5b1959608a1b815250610b5e565b6102ca81610c50565b600080806110036105ad878787610c67565b6040516105ba91906112b6565b6000604051808303816000865af19150503d80600081146105f7576040519150601f19603f3d011682016040523d82523d6000602084013e6105fc565b606091505b5091509150610639828260405180604001604052806015815260200174185c1c1c9bdd99481cda185c995cc819985a5b1959605a1b815250610b5e565b61064281610cb1565b9695505050505050565b6000808061100361065d8686610cc8565b60405161066a91906112b6565b600060405180830381855afa9150503d80600081146106a5576040519150601f19603f3d011682016040523d82523d6000602084013e6106aa565b606091505b50915091506106ef82826040518060400160405280601881526020017f64656c65676174696f6e52657761726473206661696c65640000000000000000815250610b5e565b6102a181610c50565b6000808061100361070a878787610d0f565b60405161071791906112b6565b600060405180830381855afa9150503d8060008114610752576040519150601f19603f3d011682016040523d82523d6000602084013e610757565b606091505b509150915061079c82826040518060400160405280601781526020017f616c6c6f77616e636520736861726573206661696c6564000000000000000000815250610b5e565b61064281610c50565b6000808080806110036107b9898989610d59565b6040516107c691906112b6565b6000604051808303816000865af19150503d8060008114610803576040519150601f19603f3d011682016040523d82523d6000602084013e610808565b606091505b50915091506108418282604051806040016040528060118152602001701c9959195b1959d85d194819985a5b1959607a1b815250610b5e565b61084a81610da3565b945094509450505093509350939050565b60008080808061100361086e8888610dd0565b60405161087b91906112b6565b6000604051808303816000865af19150503d80600081146108b8576040519150601f19603f3d011682016040523d82523d6000602084013e6108bd565b606091505b50915091506108f68282604051806040016040528060118152602001701d5b99195b1959d85d194819985a5b1959607a1b815250610b5e565b6108ff81610da3565b94509450945050509250925092565b60008080806110038561092088610e17565b60405161092d91906112b6565b60006040518083038185875af1925050503d806000811461096a576040519150601f19603f3d011682016040523d82523d6000602084013e61096f565b606091505b50915091506109a682826040518060400160405280600f81526020016e19195b1959d85d194819985a5b1959608a1b815250610b5e565b6109af81610be6565b9350935050509250929050565b60008080806110036109ce8787610e5b565b6040516109db91906112b6565b600060405180830381855afa9150503d8060008114610a16576040519150601f19603f3d011682016040523d82523d6000602084013e610a1b565b606091505b50915091506109a682826040518060400160405280601181526020017019195b1959d85d1a5bdb8819985a5b1959607a1b815250610b5e565b6000808080611003610a6889898989610ea2565b604051610a7591906112b6565b6000604051808303816000865af19150503d8060008114610ab2576040519150601f19603f3d011682016040523d82523d6000602084013e610ab7565b606091505b5091509150610afc82826040518060400160405280601a81526020017f7472616e7366657246726f6d20736861726573206661696c6564000000000000815250610b5e565b610b0581610be6565b93509350505094509492505050565b6060838383604051602401610b2b939291906113b5565b60408051601f198184030181529190526020810180516001600160e01b031663161298c160e01b17905290509392505050565b82610be157600082806020019051810190610b799190610faa565b9050600182511015610ba8578060405162461bcd60e51b8152600401610b9f919061130f565b60405180910390fd5b8181604051602001610bbb9291906112d2565b60408051601f198184030181529082905262461bcd60e51b8252610b9f9160040161130f565b505050565b60008060008084806020019051810190610c00919061123a565b90945092505050915091565b606081604051602401610c1f919061130f565b60408051601f198184030181529190526020810180516001600160e01b03166318fdb3e160e11b1790529050919050565b6000808280602001905181019061028a9190611222565b6060838383604051602401610c7e939291906113b5565b60408051601f198184030181529190526020810180516001600160e01b03166324ed219f60e11b17905290509392505050565b6000808280602001905181019061028a9190610f57565b60608282604051602401610cdd929190611322565b60408051601f198184030181529190526020810180516001600160e01b03166328d7a89d60e11b179052905092915050565b6060838383604051602401610d269392919061134c565b60408051601f198184030181529190526020810180516001600160e01b0316637b625c0f60e01b17905290509392505050565b6060838383604051602401610d70939291906113e3565b60408051601f198184030181529190526020810180516001600160e01b0316637dd0209d60e01b17905290509392505050565b60008060008060008086806020019051810190610dc0919061125d565b9199909850909650945050505050565b60608282604051602401610de5929190611419565b60408051601f198184030181529190526020810180516001600160e01b0316638dfc889760e01b179052905092915050565b606081604051602401610e2a919061130f565b60408051601f198184030181529190526020810180516001600160e01b0316634eeda88d60e11b1790529050919050565b60608282604051602401610e70929190611322565b60408051601f198184030181529190526020810180516001600160e01b031663d5c498eb60e01b179052905092915050565b606084848484604051602401610ebb949392919061137f565b60408051601f198184030181529190526020810180516001600160e01b031663dc6ffc7d60e01b1790529050949350505050565b80356001600160a01b038116811461028e57600080fd5b600082601f830112610f16578081fd5b8135610f29610f248261146c565b61143b565b818152846020838601011115610f3d578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215610f68578081fd5b815180151581146102b6578182fd5b600060208284031215610f88578081fd5b813567ffffffffffffffff811115610f9e578182fd5b6102ca84828501610f06565b600060208284031215610fbb578081fd5b815167ffffffffffffffff811115610fd1578182fd5b8201601f81018413610fe1578182fd5b8051610fef610f248261146c565b818152856020838501011115611003578384fd5b6102a18260208301602086016114c3565b60008060408385031215611026578081fd5b823567ffffffffffffffff81111561103c578182fd5b61104885828601610f06565b92505061105760208401610eef565b90509250929050565b600080600060608486031215611074578081fd5b833567ffffffffffffffff81111561108a578182fd5b61109686828701610f06565b9350506110a560208501610eef565b91506110b360408501610eef565b90509250925092565b600080600080608085870312156110d1578081fd5b843567ffffffffffffffff8111156110e7578182fd5b6110f387828801610f06565b94505061110260208601610eef565b925061111060408601610eef565b9396929550929360600135925050565b600080600060608486031215611134578283fd5b833567ffffffffffffffff81111561114a578384fd5b61115686828701610f06565b93505061116560208501610eef565b9150604084013590509250925092565b600080600060608486031215611189578283fd5b833567ffffffffffffffff808211156111a0578485fd5b6111ac87838801610f06565b945060208601359150808211156111c1578384fd5b506111ce86828701610f06565b925050604084013590509250925092565b600080604083850312156111f1578182fd5b823567ffffffffffffffff811115611207578283fd5b61121385828601610f06565b95602094909401359450505050565b600060208284031215611233578081fd5b5051919050565b6000806040838503121561124c578182fd5b505080516020909101519092909150565b600080600060608486031215611271578283fd5b8351925060208401519150604084015190509250925092565b600081518084526112a28160208601602086016114c3565b601f01601f19169290920160200192915050565b600082516112c88184602087016114c3565b9190910192915050565b600083516112e48184602088016114c3565b6101d160f51b90830190815283516113038160028401602088016114c3565b01600201949350505050565b6000602082526102b6602083018461128a565b600060408252611335604083018561128a565b905060018060a01b03831660208301529392505050565b60006060825261135f606083018661128a565b6001600160a01b0394851660208401529290931660409091015292915050565b600060808252611392608083018761128a565b6001600160a01b0395861660208401529390941660408201526060015292915050565b6000606082526113c8606083018661128a565b6001600160a01b039490941660208301525060400152919050565b6000606082526113f6606083018661128a565b8281036020840152611408818661128a565b915050826040830152949350505050565b60006040825261142c604083018561128a565b90508260208301529392505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561146457611464611509565b604052919050565b600067ffffffffffffffff82111561148657611486611509565b50601f01601f191660200190565b600082198211156114a7576114a76114f3565b500190565b6000828210156114be576114be6114f3565b500390565b60005b838110156114de5781810151838201526020016114c6565b838111156114ed576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220a837a862eb270a5990249e6fffe7811e0d34dbdfce8c282abfe5e8ffc2f97d4a64736f6c63430008020033",
}

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 ERC721TokenTestBatchMetadataUpdate

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

ERC721TokenTestBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the ERC721TokenTest contract.

type ERC721TokenTestBatchMetadataUpdateIterator

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

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

func (*ERC721TokenTestBatchMetadataUpdateIterator) Close

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

func (*ERC721TokenTestBatchMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestBatchMetadataUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC721TokenTestBeaconUpgraded

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

ERC721TokenTestBeaconUpgraded represents a BeaconUpgraded event raised by the ERC721TokenTest contract.

type ERC721TokenTestBeaconUpgradedIterator

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

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

func (*ERC721TokenTestBeaconUpgradedIterator) Close

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

func (*ERC721TokenTestBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestBeaconUpgradedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC721TokenTestCaller

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

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

func NewERC721TokenTestCaller

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

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

func (*ERC721TokenTestCaller) BalanceOf

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

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

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

func (*ERC721TokenTestCaller) GetApproved

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

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

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

func (*ERC721TokenTestCaller) IsApprovedForAll

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

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

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

func (*ERC721TokenTestCaller) Name

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

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

Solidity: function name() view returns(string)

func (*ERC721TokenTestCaller) Owner

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

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

Solidity: function owner() view returns(address)

func (*ERC721TokenTestCaller) OwnerOf

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

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

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

func (*ERC721TokenTestCaller) ProxiableUUID

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

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*ERC721TokenTestCaller) SupportsInterface

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

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

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

func (*ERC721TokenTestCaller) Symbol

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

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

Solidity: function symbol() view returns(string)

func (*ERC721TokenTestCaller) TokenURI

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

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

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

type ERC721TokenTestCallerRaw

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

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

func (*ERC721TokenTestCallerRaw) Call

func (_ERC721TokenTest *ERC721TokenTestCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ERC721TokenTestCallerSession

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

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

func (*ERC721TokenTestCallerSession) BalanceOf

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

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

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

func (*ERC721TokenTestCallerSession) GetApproved

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

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

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

func (*ERC721TokenTestCallerSession) IsApprovedForAll

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

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

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

func (*ERC721TokenTestCallerSession) Name

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

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

Solidity: function name() view returns(string)

func (*ERC721TokenTestCallerSession) Owner

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

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

Solidity: function owner() view returns(address)

func (*ERC721TokenTestCallerSession) OwnerOf

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

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

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

func (*ERC721TokenTestCallerSession) ProxiableUUID

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

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*ERC721TokenTestCallerSession) SupportsInterface

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

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

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

func (*ERC721TokenTestCallerSession) Symbol

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

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

Solidity: function symbol() view returns(string)

func (*ERC721TokenTestCallerSession) TokenURI

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

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

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

type ERC721TokenTestFilterer

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

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

func NewERC721TokenTestFilterer

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

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

func (*ERC721TokenTestFilterer) FilterAdminChanged

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

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC721TokenTestFilterer) FilterApproval

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

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

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

func (*ERC721TokenTestFilterer) FilterApprovalForAll

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

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

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

func (*ERC721TokenTestFilterer) FilterBatchMetadataUpdate

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

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

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*ERC721TokenTestFilterer) FilterBeaconUpgraded

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

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC721TokenTestFilterer) FilterInitialized

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

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

Solidity: event Initialized(uint8 version)

func (*ERC721TokenTestFilterer) FilterMetadataUpdate

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

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

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*ERC721TokenTestFilterer) FilterOwnershipTransferred

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

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

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

func (*ERC721TokenTestFilterer) FilterTransfer

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

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

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

func (*ERC721TokenTestFilterer) FilterUpgraded

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

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

Solidity: event Upgraded(address indexed implementation)

func (*ERC721TokenTestFilterer) ParseAdminChanged

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

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC721TokenTestFilterer) ParseApproval

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

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

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

func (*ERC721TokenTestFilterer) ParseApprovalForAll

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

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

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

func (*ERC721TokenTestFilterer) ParseBatchMetadataUpdate

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

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

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*ERC721TokenTestFilterer) ParseBeaconUpgraded

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

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC721TokenTestFilterer) ParseInitialized

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

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

Solidity: event Initialized(uint8 version)

func (*ERC721TokenTestFilterer) ParseMetadataUpdate

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

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

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*ERC721TokenTestFilterer) ParseOwnershipTransferred

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

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

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

func (*ERC721TokenTestFilterer) ParseTransfer

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

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

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

func (*ERC721TokenTestFilterer) ParseUpgraded

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

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

Solidity: event Upgraded(address indexed implementation)

func (*ERC721TokenTestFilterer) WatchAdminChanged

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

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC721TokenTestFilterer) WatchApproval

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

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

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

func (*ERC721TokenTestFilterer) WatchApprovalForAll

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

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

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

func (*ERC721TokenTestFilterer) WatchBatchMetadataUpdate

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

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

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*ERC721TokenTestFilterer) WatchBeaconUpgraded

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

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC721TokenTestFilterer) WatchInitialized

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

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

Solidity: event Initialized(uint8 version)

func (*ERC721TokenTestFilterer) WatchMetadataUpdate

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

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

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*ERC721TokenTestFilterer) WatchOwnershipTransferred

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

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

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

func (*ERC721TokenTestFilterer) WatchTransfer

func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*ERC721TokenTestFilterer) WatchUpgraded

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

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

Solidity: event Upgraded(address indexed implementation)

type ERC721TokenTestInitialized

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

ERC721TokenTestInitialized represents a Initialized event raised by the ERC721TokenTest contract.

type ERC721TokenTestInitializedIterator

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

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

func (*ERC721TokenTestInitializedIterator) Close

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

func (*ERC721TokenTestInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC721TokenTestMetadataUpdate

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

ERC721TokenTestMetadataUpdate represents a MetadataUpdate event raised by the ERC721TokenTest contract.

type ERC721TokenTestMetadataUpdateIterator

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

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

func (*ERC721TokenTestMetadataUpdateIterator) Close

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

func (*ERC721TokenTestMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestMetadataUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC721TokenTestOwnershipTransferred

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

ERC721TokenTestOwnershipTransferred represents a OwnershipTransferred event raised by the ERC721TokenTest contract.

type ERC721TokenTestOwnershipTransferredIterator

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

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

func (*ERC721TokenTestOwnershipTransferredIterator) Close

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

func (*ERC721TokenTestOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC721TokenTestRaw

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

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

func (*ERC721TokenTestRaw) Call

func (_ERC721TokenTest *ERC721TokenTestRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ERC721TokenTestRaw) Transact

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

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

func (*ERC721TokenTestRaw) Transfer

func (_ERC721TokenTest *ERC721TokenTestRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC721TokenTestSession

type ERC721TokenTestSession struct {
	Contract     *ERC721TokenTest  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*ERC721TokenTestSession) Approve

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

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

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

func (*ERC721TokenTestSession) BalanceOf

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

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

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

func (*ERC721TokenTestSession) GetApproved

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

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

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

func (*ERC721TokenTestSession) Initialize

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

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

Solidity: function initialize() returns()

func (*ERC721TokenTestSession) IsApprovedForAll

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

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

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

func (*ERC721TokenTestSession) Name

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

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

Solidity: function name() view returns(string)

func (*ERC721TokenTestSession) Owner

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

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

Solidity: function owner() view returns(address)

func (*ERC721TokenTestSession) OwnerOf

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

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

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

func (*ERC721TokenTestSession) ProxiableUUID

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

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*ERC721TokenTestSession) RenounceOwnership

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

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

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTestSession) SafeMint

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

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

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

func (*ERC721TokenTestSession) SafeTransferFrom

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

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

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

func (*ERC721TokenTestSession) SafeTransferFrom0

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

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

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

func (*ERC721TokenTestSession) SetApprovalForAll

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

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

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

func (*ERC721TokenTestSession) SupportsInterface

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

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

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

func (*ERC721TokenTestSession) Symbol

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

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

Solidity: function symbol() view returns(string)

func (*ERC721TokenTestSession) TokenURI

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

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

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

func (*ERC721TokenTestSession) TransferFrom

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

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

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

func (*ERC721TokenTestSession) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ERC721TokenTestSession) UpgradeTo

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

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

Solidity: function upgradeTo(address newImplementation) returns()

func (*ERC721TokenTestSession) UpgradeToAndCall

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

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

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

type ERC721TokenTestTransactor

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

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

func NewERC721TokenTestTransactor

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

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

func (*ERC721TokenTestTransactor) Approve

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

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

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

func (*ERC721TokenTestTransactor) Initialize

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

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

Solidity: function initialize() returns()

func (*ERC721TokenTestTransactor) RenounceOwnership

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

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

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTestTransactor) SafeMint

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

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

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

func (*ERC721TokenTestTransactor) SafeTransferFrom

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

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

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

func (*ERC721TokenTestTransactor) SafeTransferFrom0

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

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

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

func (*ERC721TokenTestTransactor) SetApprovalForAll

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

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

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

func (*ERC721TokenTestTransactor) TransferFrom

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

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

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

func (*ERC721TokenTestTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ERC721TokenTestTransactor) UpgradeTo

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

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

Solidity: function upgradeTo(address newImplementation) returns()

func (*ERC721TokenTestTransactor) UpgradeToAndCall

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

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

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

type ERC721TokenTestTransactorRaw

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

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

func (*ERC721TokenTestTransactorRaw) Transact

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

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

func (*ERC721TokenTestTransactorRaw) Transfer

func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ERC721TokenTestTransactorSession

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

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

func (*ERC721TokenTestTransactorSession) Approve

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

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

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

func (*ERC721TokenTestTransactorSession) Initialize

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

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

Solidity: function initialize() returns()

func (*ERC721TokenTestTransactorSession) RenounceOwnership

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

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

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTestTransactorSession) SafeMint

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

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

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

func (*ERC721TokenTestTransactorSession) SafeTransferFrom

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

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

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

func (*ERC721TokenTestTransactorSession) SafeTransferFrom0

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

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

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

func (*ERC721TokenTestTransactorSession) SetApprovalForAll

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

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

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

func (*ERC721TokenTestTransactorSession) TransferFrom

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

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

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

func (*ERC721TokenTestTransactorSession) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ERC721TokenTestTransactorSession) UpgradeTo

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

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

Solidity: function upgradeTo(address newImplementation) returns()

func (*ERC721TokenTestTransactorSession) UpgradeToAndCall

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

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

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

type ERC721TokenTestTransfer

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

ERC721TokenTestTransfer represents a Transfer event raised by the ERC721TokenTest contract.

type ERC721TokenTestTransferIterator

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

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

func (*ERC721TokenTestTransferIterator) Close

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

func (*ERC721TokenTestTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC721TokenTestUpgraded

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

ERC721TokenTestUpgraded represents a Upgraded event raised by the ERC721TokenTest contract.

type ERC721TokenTestUpgradedIterator

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

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

func (*ERC721TokenTestUpgradedIterator) Close

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

func (*ERC721TokenTestUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTestUpgradedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingTest

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

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

func DeployStakingTest

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

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

func NewStakingTest

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

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

type StakingTestApproveShares

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

StakingTestApproveShares represents a ApproveShares event raised by the StakingTest contract.

type StakingTestApproveSharesIterator

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

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

func (*StakingTestApproveSharesIterator) Close

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

func (*StakingTestApproveSharesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestApproveSharesIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type StakingTestCaller

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

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

func NewStakingTestCaller

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

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

func (*StakingTestCaller) AllowanceShares

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

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

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

func (*StakingTestCaller) Delegation

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

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

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

func (*StakingTestCaller) DelegationRewards

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

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

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

func (*StakingTestCaller) ValidatorShares

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

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

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

type StakingTestCallerRaw

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

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

func (*StakingTestCallerRaw) Call

func (_StakingTest *StakingTestCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type StakingTestCallerSession

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

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

func (*StakingTestCallerSession) AllowanceShares

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

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

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

func (*StakingTestCallerSession) Delegation

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

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

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

func (*StakingTestCallerSession) DelegationRewards

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

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

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

func (*StakingTestCallerSession) ValidatorShares

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

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

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

type StakingTestDelegate

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

StakingTestDelegate represents a Delegate event raised by the StakingTest contract.

type StakingTestDelegateIterator

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

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

func (*StakingTestDelegateIterator) Close

func (it *StakingTestDelegateIterator) Close() error

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

func (*StakingTestDelegateIterator) Error

func (it *StakingTestDelegateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestDelegateIterator) Next

func (it *StakingTestDelegateIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

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

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

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

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

func (*StakingTestFilterer) 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) ParseRedelegate

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

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

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

func (*StakingTestFilterer) 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) WatchRedelegate

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

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

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

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

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

StakingTestRedelegate represents a Redelegate event raised by the StakingTest contract.

type StakingTestRedelegateIterator

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

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

func (*StakingTestRedelegateIterator) Close

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

func (*StakingTestRedelegateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StakingTestRedelegateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

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

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

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

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

func (*StakingTestSession) 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) Redelegate

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

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

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

func (*StakingTestTransactor) 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) Redelegate

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

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

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

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