Documentation ¶
Index ¶
- Variables
- type StaderMaticXPolygon
- type StaderMaticXPolygonCaller
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) CHILDCHAINID(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) CHILDCHAINIDBYTES(opts *bind.CallOpts) ([]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) DEPOSITORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) ERC712VERSION(opts *bind.CallOpts) (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetDomainSeperator(opts *bind.CallOpts) ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) Name(opts *bind.CallOpts) (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) ROOTCHAINID(opts *bind.CallOpts) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) ROOTCHAINIDBYTES(opts *bind.CallOpts) ([]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type StaderMaticXPolygonCallerRaw
- type StaderMaticXPolygonCallerSession
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) CHILDCHAINID() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) CHILDCHAINIDBYTES() ([]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) DEPOSITORROLE() ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Decimals() (uint8, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) ERC712VERSION() (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetChainId() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetDomainSeperator() ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetNonce(user common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Name() (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) ROOTCHAINID() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) ROOTCHAINIDBYTES() ([]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Symbol() (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) TotalSupply() (*big.Int, error)
- type StaderMaticXPolygonFilterer
- type StaderMaticXPolygonRaw
- func (_StaderMaticXPolygon *StaderMaticXPolygonRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StaderMaticXPolygon *StaderMaticXPolygonRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StaderMaticXPolygonSession
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) CHILDCHAINID() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) CHILDCHAINIDBYTES() ([]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) DEPOSITORROLE() ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Decimals() (uint8, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Deposit(user common.Address, depositData []byte) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ERC712VERSION() (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ExecuteMetaTransaction(userAddress common.Address, functionSignature []byte, sigR [32]byte, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetChainId() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetDomainSeperator() ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetNonce(user common.Address) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Initialize(name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Name() (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ROOTCHAINID() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ROOTCHAINIDBYTES() ([]byte, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Symbol() (string, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) TotalSupply() (*big.Int, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Withdraw(amount *big.Int) (*types.Transaction, error)
- type StaderMaticXPolygonTransactor
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Deposit(opts *bind.TransactOpts, user common.Address, depositData []byte) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) ExecuteMetaTransaction(opts *bind.TransactOpts, userAddress common.Address, functionSignature []byte, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- type StaderMaticXPolygonTransactorRaw
- type StaderMaticXPolygonTransactorSession
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Deposit(user common.Address, depositData []byte) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) ExecuteMetaTransaction(userAddress common.Address, functionSignature []byte, sigR [32]byte, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var StaderMaticXPolygonABI = StaderMaticXPolygonMetaData.ABI
StaderMaticXPolygonABI is the input ABI used to generate the binding from. Deprecated: Use StaderMaticXPolygonMetaData.ABI instead.
var StaderMaticXPolygonMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"CHILD_CHAIN_ID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CHILD_CHAIN_ID_BYTES\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEPOSITOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ERC712_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROOT_CHAIN_ID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROOT_CHAIN_ID_BYTES\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"depositData\",\"type\":\"bytes\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"userAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"functionSignature\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"sigR\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"sigS\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"sigV\",\"type\":\"uint8\"}],\"name\":\"executeMetaTransaction\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDomainSeperator\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"childChainManager\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
StaderMaticXPolygonMetaData contains all meta data concerning the StaderMaticXPolygon contract.
Functions ¶
This section is empty.
Types ¶
type StaderMaticXPolygon ¶
type StaderMaticXPolygon struct { StaderMaticXPolygonCaller // Read-only binding to the contract StaderMaticXPolygonTransactor // Write-only binding to the contract StaderMaticXPolygonFilterer // Log filterer for contract events }
StaderMaticXPolygon is an auto generated Go binding around an Ethereum contract.
func NewStaderMaticXPolygon ¶
func NewStaderMaticXPolygon(address common.Address, backend bind.ContractBackend) (*StaderMaticXPolygon, error)
NewStaderMaticXPolygon creates a new instance of StaderMaticXPolygon, bound to a specific deployed contract.
type StaderMaticXPolygonCaller ¶
type StaderMaticXPolygonCaller struct {
// contains filtered or unexported fields
}
StaderMaticXPolygonCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStaderMaticXPolygonCaller ¶
func NewStaderMaticXPolygonCaller(address common.Address, caller bind.ContractCaller) (*StaderMaticXPolygonCaller, error)
NewStaderMaticXPolygonCaller creates a new read-only instance of StaderMaticXPolygon, bound to a specific deployed contract.
func (*StaderMaticXPolygonCaller) Allowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*StaderMaticXPolygonCaller) BalanceOf ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*StaderMaticXPolygonCaller) CHILDCHAINID ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) CHILDCHAINID(opts *bind.CallOpts) (*big.Int, error)
CHILDCHAINID is a free data retrieval call binding the contract method 0x626381a0.
Solidity: function CHILD_CHAIN_ID() view returns(uint256)
func (*StaderMaticXPolygonCaller) CHILDCHAINIDBYTES ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) CHILDCHAINIDBYTES(opts *bind.CallOpts) ([]byte, error)
CHILDCHAINIDBYTES is a free data retrieval call binding the contract method 0x0b54817c.
Solidity: function CHILD_CHAIN_ID_BYTES() view returns(bytes)
func (*StaderMaticXPolygonCaller) DEFAULTADMINROLE ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*StaderMaticXPolygonCaller) DEPOSITORROLE ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) DEPOSITORROLE(opts *bind.CallOpts) ([32]byte, error)
DEPOSITORROLE is a free data retrieval call binding the contract method 0xa3b0b5a3.
Solidity: function DEPOSITOR_ROLE() view returns(bytes32)
func (*StaderMaticXPolygonCaller) Decimals ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*StaderMaticXPolygonCaller) ERC712VERSION ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) ERC712VERSION(opts *bind.CallOpts) (string, error)
ERC712VERSION is a free data retrieval call binding the contract method 0x0f7e5970.
Solidity: function ERC712_VERSION() view returns(string)
func (*StaderMaticXPolygonCaller) GetChainId ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() pure returns(uint256)
func (*StaderMaticXPolygonCaller) GetDomainSeperator ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetDomainSeperator(opts *bind.CallOpts) ([32]byte, error)
GetDomainSeperator is a free data retrieval call binding the contract method 0x20379ee5.
Solidity: function getDomainSeperator() view returns(bytes32)
func (*StaderMaticXPolygonCaller) GetNonce ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x2d0335ab.
Solidity: function getNonce(address user) view returns(uint256 nonce)
func (*StaderMaticXPolygonCaller) GetRoleAdmin ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*StaderMaticXPolygonCaller) GetRoleMember ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*StaderMaticXPolygonCaller) GetRoleMemberCount ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*StaderMaticXPolygonCaller) HasRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*StaderMaticXPolygonCaller) Name ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) 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 (*StaderMaticXPolygonCaller) ROOTCHAINID ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) ROOTCHAINID(opts *bind.CallOpts) (*big.Int, error)
ROOTCHAINID is a free data retrieval call binding the contract method 0x8acfcaf7.
Solidity: function ROOT_CHAIN_ID() view returns(uint256)
func (*StaderMaticXPolygonCaller) ROOTCHAINIDBYTES ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) ROOTCHAINIDBYTES(opts *bind.CallOpts) ([]byte, error)
ROOTCHAINIDBYTES is a free data retrieval call binding the contract method 0x0dd7531a.
Solidity: function ROOT_CHAIN_ID_BYTES() view returns(bytes)
func (*StaderMaticXPolygonCaller) Symbol ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) 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 (*StaderMaticXPolygonCaller) TotalSupply ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type StaderMaticXPolygonCallerRaw ¶
type StaderMaticXPolygonCallerRaw struct {
Contract *StaderMaticXPolygonCaller // Generic read-only contract binding to access the raw methods on
}
StaderMaticXPolygonCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StaderMaticXPolygonCallerRaw) Call ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerRaw) 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 StaderMaticXPolygonCallerSession ¶
type StaderMaticXPolygonCallerSession struct { Contract *StaderMaticXPolygonCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StaderMaticXPolygonCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StaderMaticXPolygonCallerSession) Allowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*StaderMaticXPolygonCallerSession) BalanceOf ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*StaderMaticXPolygonCallerSession) CHILDCHAINID ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) CHILDCHAINID() (*big.Int, error)
CHILDCHAINID is a free data retrieval call binding the contract method 0x626381a0.
Solidity: function CHILD_CHAIN_ID() view returns(uint256)
func (*StaderMaticXPolygonCallerSession) CHILDCHAINIDBYTES ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) CHILDCHAINIDBYTES() ([]byte, error)
CHILDCHAINIDBYTES is a free data retrieval call binding the contract method 0x0b54817c.
Solidity: function CHILD_CHAIN_ID_BYTES() view returns(bytes)
func (*StaderMaticXPolygonCallerSession) DEFAULTADMINROLE ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*StaderMaticXPolygonCallerSession) DEPOSITORROLE ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) DEPOSITORROLE() ([32]byte, error)
DEPOSITORROLE is a free data retrieval call binding the contract method 0xa3b0b5a3.
Solidity: function DEPOSITOR_ROLE() view returns(bytes32)
func (*StaderMaticXPolygonCallerSession) Decimals ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*StaderMaticXPolygonCallerSession) ERC712VERSION ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) ERC712VERSION() (string, error)
ERC712VERSION is a free data retrieval call binding the contract method 0x0f7e5970.
Solidity: function ERC712_VERSION() view returns(string)
func (*StaderMaticXPolygonCallerSession) GetChainId ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() pure returns(uint256)
func (*StaderMaticXPolygonCallerSession) GetDomainSeperator ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetDomainSeperator() ([32]byte, error)
GetDomainSeperator is a free data retrieval call binding the contract method 0x20379ee5.
Solidity: function getDomainSeperator() view returns(bytes32)
func (*StaderMaticXPolygonCallerSession) GetNonce ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetNonce(user common.Address) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x2d0335ab.
Solidity: function getNonce(address user) view returns(uint256 nonce)
func (*StaderMaticXPolygonCallerSession) GetRoleAdmin ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*StaderMaticXPolygonCallerSession) GetRoleMember ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*StaderMaticXPolygonCallerSession) GetRoleMemberCount ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*StaderMaticXPolygonCallerSession) HasRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*StaderMaticXPolygonCallerSession) Name ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*StaderMaticXPolygonCallerSession) ROOTCHAINID ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) ROOTCHAINID() (*big.Int, error)
ROOTCHAINID is a free data retrieval call binding the contract method 0x8acfcaf7.
Solidity: function ROOT_CHAIN_ID() view returns(uint256)
func (*StaderMaticXPolygonCallerSession) ROOTCHAINIDBYTES ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) ROOTCHAINIDBYTES() ([]byte, error)
ROOTCHAINIDBYTES is a free data retrieval call binding the contract method 0x0dd7531a.
Solidity: function ROOT_CHAIN_ID_BYTES() view returns(bytes)
func (*StaderMaticXPolygonCallerSession) Symbol ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*StaderMaticXPolygonCallerSession) TotalSupply ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type StaderMaticXPolygonFilterer ¶
type StaderMaticXPolygonFilterer struct {
// contains filtered or unexported fields
}
StaderMaticXPolygonFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStaderMaticXPolygonFilterer ¶
func NewStaderMaticXPolygonFilterer(address common.Address, filterer bind.ContractFilterer) (*StaderMaticXPolygonFilterer, error)
NewStaderMaticXPolygonFilterer creates a new log filterer instance of StaderMaticXPolygon, bound to a specific deployed contract.
type StaderMaticXPolygonRaw ¶
type StaderMaticXPolygonRaw struct {
Contract *StaderMaticXPolygon // Generic contract binding to access the raw methods on
}
StaderMaticXPolygonRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StaderMaticXPolygonRaw) Call ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonRaw) 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 (*StaderMaticXPolygonRaw) Transact ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StaderMaticXPolygonRaw) Transfer ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonRaw) 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 StaderMaticXPolygonSession ¶
type StaderMaticXPolygonSession struct { Contract *StaderMaticXPolygon // 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 }
StaderMaticXPolygonSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StaderMaticXPolygonSession) Allowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*StaderMaticXPolygonSession) Approve ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*StaderMaticXPolygonSession) BalanceOf ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*StaderMaticXPolygonSession) CHILDCHAINID ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) CHILDCHAINID() (*big.Int, error)
CHILDCHAINID is a free data retrieval call binding the contract method 0x626381a0.
Solidity: function CHILD_CHAIN_ID() view returns(uint256)
func (*StaderMaticXPolygonSession) CHILDCHAINIDBYTES ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) CHILDCHAINIDBYTES() ([]byte, error)
CHILDCHAINIDBYTES is a free data retrieval call binding the contract method 0x0b54817c.
Solidity: function CHILD_CHAIN_ID_BYTES() view returns(bytes)
func (*StaderMaticXPolygonSession) DEFAULTADMINROLE ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*StaderMaticXPolygonSession) DEPOSITORROLE ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) DEPOSITORROLE() ([32]byte, error)
DEPOSITORROLE is a free data retrieval call binding the contract method 0xa3b0b5a3.
Solidity: function DEPOSITOR_ROLE() view returns(bytes32)
func (*StaderMaticXPolygonSession) Decimals ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*StaderMaticXPolygonSession) DecreaseAllowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*StaderMaticXPolygonSession) Deposit ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Deposit(user common.Address, depositData []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xcf2c52cb.
Solidity: function deposit(address user, bytes depositData) returns()
func (*StaderMaticXPolygonSession) ERC712VERSION ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ERC712VERSION() (string, error)
ERC712VERSION is a free data retrieval call binding the contract method 0x0f7e5970.
Solidity: function ERC712_VERSION() view returns(string)
func (*StaderMaticXPolygonSession) ExecuteMetaTransaction ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ExecuteMetaTransaction(userAddress common.Address, functionSignature []byte, sigR [32]byte, sigS [32]byte, sigV uint8) (*types.Transaction, error)
ExecuteMetaTransaction is a paid mutator transaction binding the contract method 0x0c53c51c.
Solidity: function executeMetaTransaction(address userAddress, bytes functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) returns(bytes)
func (*StaderMaticXPolygonSession) GetChainId ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetChainId() (*big.Int, error)
GetChainId is a free data retrieval call binding the contract method 0x3408e470.
Solidity: function getChainId() pure returns(uint256)
func (*StaderMaticXPolygonSession) GetDomainSeperator ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetDomainSeperator() ([32]byte, error)
GetDomainSeperator is a free data retrieval call binding the contract method 0x20379ee5.
Solidity: function getDomainSeperator() view returns(bytes32)
func (*StaderMaticXPolygonSession) GetNonce ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetNonce(user common.Address) (*big.Int, error)
GetNonce is a free data retrieval call binding the contract method 0x2d0335ab.
Solidity: function getNonce(address user) view returns(uint256 nonce)
func (*StaderMaticXPolygonSession) GetRoleAdmin ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*StaderMaticXPolygonSession) GetRoleMember ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*StaderMaticXPolygonSession) GetRoleMemberCount ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*StaderMaticXPolygonSession) GrantRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonSession) HasRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*StaderMaticXPolygonSession) IncreaseAllowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*StaderMaticXPolygonSession) Initialize ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Initialize(name_ string, symbol_ string, decimals_ uint8, childChainManager common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address childChainManager) returns()
func (*StaderMaticXPolygonSession) Name ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*StaderMaticXPolygonSession) ROOTCHAINID ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ROOTCHAINID() (*big.Int, error)
ROOTCHAINID is a free data retrieval call binding the contract method 0x8acfcaf7.
Solidity: function ROOT_CHAIN_ID() view returns(uint256)
func (*StaderMaticXPolygonSession) ROOTCHAINIDBYTES ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) ROOTCHAINIDBYTES() ([]byte, error)
ROOTCHAINIDBYTES is a free data retrieval call binding the contract method 0x0dd7531a.
Solidity: function ROOT_CHAIN_ID_BYTES() view returns(bytes)
func (*StaderMaticXPolygonSession) RenounceRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonSession) RevokeRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonSession) Symbol ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*StaderMaticXPolygonSession) TotalSupply ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*StaderMaticXPolygonSession) Transfer ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*StaderMaticXPolygonSession) TransferFrom ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*StaderMaticXPolygonSession) Withdraw ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()
type StaderMaticXPolygonTransactor ¶
type StaderMaticXPolygonTransactor struct {
// contains filtered or unexported fields
}
StaderMaticXPolygonTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStaderMaticXPolygonTransactor ¶
func NewStaderMaticXPolygonTransactor(address common.Address, transactor bind.ContractTransactor) (*StaderMaticXPolygonTransactor, error)
NewStaderMaticXPolygonTransactor creates a new write-only instance of StaderMaticXPolygon, bound to a specific deployed contract.
func (*StaderMaticXPolygonTransactor) Approve ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*StaderMaticXPolygonTransactor) DecreaseAllowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*StaderMaticXPolygonTransactor) Deposit ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Deposit(opts *bind.TransactOpts, user common.Address, depositData []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xcf2c52cb.
Solidity: function deposit(address user, bytes depositData) returns()
func (*StaderMaticXPolygonTransactor) ExecuteMetaTransaction ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) ExecuteMetaTransaction(opts *bind.TransactOpts, userAddress common.Address, functionSignature []byte, sigR [32]byte, sigS [32]byte, sigV uint8) (*types.Transaction, error)
ExecuteMetaTransaction is a paid mutator transaction binding the contract method 0x0c53c51c.
Solidity: function executeMetaTransaction(address userAddress, bytes functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) returns(bytes)
func (*StaderMaticXPolygonTransactor) GrantRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonTransactor) IncreaseAllowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*StaderMaticXPolygonTransactor) Initialize ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, childChainManager common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address childChainManager) returns()
func (*StaderMaticXPolygonTransactor) RenounceRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonTransactor) RevokeRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonTransactor) Transfer ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*StaderMaticXPolygonTransactor) TransferFrom ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*StaderMaticXPolygonTransactor) Withdraw ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()
type StaderMaticXPolygonTransactorRaw ¶
type StaderMaticXPolygonTransactorRaw struct {
Contract *StaderMaticXPolygonTransactor // Generic write-only contract binding to access the raw methods on
}
StaderMaticXPolygonTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StaderMaticXPolygonTransactorRaw) Transact ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StaderMaticXPolygonTransactorRaw) Transfer ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorRaw) 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 StaderMaticXPolygonTransactorSession ¶
type StaderMaticXPolygonTransactorSession struct { Contract *StaderMaticXPolygonTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StaderMaticXPolygonTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StaderMaticXPolygonTransactorSession) Approve ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*StaderMaticXPolygonTransactorSession) DecreaseAllowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*StaderMaticXPolygonTransactorSession) Deposit ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Deposit(user common.Address, depositData []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xcf2c52cb.
Solidity: function deposit(address user, bytes depositData) returns()
func (*StaderMaticXPolygonTransactorSession) ExecuteMetaTransaction ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) ExecuteMetaTransaction(userAddress common.Address, functionSignature []byte, sigR [32]byte, sigS [32]byte, sigV uint8) (*types.Transaction, error)
ExecuteMetaTransaction is a paid mutator transaction binding the contract method 0x0c53c51c.
Solidity: function executeMetaTransaction(address userAddress, bytes functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) returns(bytes)
func (*StaderMaticXPolygonTransactorSession) GrantRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonTransactorSession) IncreaseAllowance ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*StaderMaticXPolygonTransactorSession) Initialize ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, childChainManager common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address childChainManager) returns()
func (*StaderMaticXPolygonTransactorSession) RenounceRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonTransactorSession) RevokeRole ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*StaderMaticXPolygonTransactorSession) Transfer ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*StaderMaticXPolygonTransactorSession) TransferFrom ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*StaderMaticXPolygonTransactorSession) Withdraw ¶
func (_StaderMaticXPolygon *StaderMaticXPolygonTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()