Documentation ¶
Index ¶
- Variables
- type Slp
- type SlpAdminChanged
- type SlpAdminChangedIterator
- type SlpAdminRemoved
- type SlpAdminRemovedIterator
- type SlpApproval
- type SlpApprovalIterator
- type SlpCaller
- func (_Slp *SlpCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Slp *SlpCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_Slp *SlpCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Slp *SlpCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Slp *SlpCaller) IsMinter(opts *bind.CallOpts, _addr common.Address) (bool, error)
- func (_Slp *SlpCaller) MainchainGateway(opts *bind.CallOpts) (common.Address, error)
- func (_Slp *SlpCaller) Minter(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Slp *SlpCaller) Minters(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_Slp *SlpCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Slp *SlpCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Slp *SlpCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type SlpCallerRaw
- type SlpCallerSession
- func (_Slp *SlpCallerSession) Admin() (common.Address, error)
- func (_Slp *SlpCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_Slp *SlpCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_Slp *SlpCallerSession) Decimals() (uint8, error)
- func (_Slp *SlpCallerSession) IsMinter(_addr common.Address) (bool, error)
- func (_Slp *SlpCallerSession) MainchainGateway() (common.Address, error)
- func (_Slp *SlpCallerSession) Minter(arg0 common.Address) (bool, error)
- func (_Slp *SlpCallerSession) Minters(arg0 *big.Int) (common.Address, error)
- func (_Slp *SlpCallerSession) Name() (string, error)
- func (_Slp *SlpCallerSession) Symbol() (string, error)
- func (_Slp *SlpCallerSession) TotalSupply() (*big.Int, error)
- type SlpFilterer
- func (_Slp *SlpFilterer) FilterAdminChanged(opts *bind.FilterOpts, _oldAdmin []common.Address, _newAdmin []common.Address) (*SlpAdminChangedIterator, error)
- func (_Slp *SlpFilterer) FilterAdminRemoved(opts *bind.FilterOpts, _oldAdmin []common.Address) (*SlpAdminRemovedIterator, error)
- func (_Slp *SlpFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*SlpApprovalIterator, error)
- func (_Slp *SlpFilterer) FilterMinterAdded(opts *bind.FilterOpts, _minter []common.Address) (*SlpMinterAddedIterator, error)
- func (_Slp *SlpFilterer) FilterMinterRemoved(opts *bind.FilterOpts, _minter []common.Address) (*SlpMinterRemovedIterator, error)
- func (_Slp *SlpFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*SlpTransferIterator, error)
- func (_Slp *SlpFilterer) ParseAdminChanged(log types.Log) (*SlpAdminChanged, error)
- func (_Slp *SlpFilterer) ParseAdminRemoved(log types.Log) (*SlpAdminRemoved, error)
- func (_Slp *SlpFilterer) ParseApproval(log types.Log) (*SlpApproval, error)
- func (_Slp *SlpFilterer) ParseMinterAdded(log types.Log) (*SlpMinterAdded, error)
- func (_Slp *SlpFilterer) ParseMinterRemoved(log types.Log) (*SlpMinterRemoved, error)
- func (_Slp *SlpFilterer) ParseTransfer(log types.Log) (*SlpTransfer, error)
- func (_Slp *SlpFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SlpAdminChanged, _oldAdmin []common.Address, ...) (event.Subscription, error)
- func (_Slp *SlpFilterer) WatchAdminRemoved(opts *bind.WatchOpts, sink chan<- *SlpAdminRemoved, _oldAdmin []common.Address) (event.Subscription, error)
- func (_Slp *SlpFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SlpApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_Slp *SlpFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *SlpMinterAdded, _minter []common.Address) (event.Subscription, error)
- func (_Slp *SlpFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *SlpMinterRemoved, _minter []common.Address) (event.Subscription, error)
- func (_Slp *SlpFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SlpTransfer, _from []common.Address, ...) (event.Subscription, error)
- type SlpMinterAdded
- type SlpMinterAddedIterator
- type SlpMinterRemoved
- type SlpMinterRemovedIterator
- type SlpRaw
- type SlpSession
- func (_Slp *SlpSession) AddMinters(_addedMinters []common.Address) (*types.Transaction, error)
- func (_Slp *SlpSession) Admin() (common.Address, error)
- func (_Slp *SlpSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_Slp *SlpSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_Slp *SlpSession) ChangeAdmin(_newAdmin common.Address) (*types.Transaction, error)
- func (_Slp *SlpSession) Checkpoint(_owner common.Address, _amount *big.Int, _createdAt *big.Int, ...) (*types.Transaction, error)
- func (_Slp *SlpSession) Decimals() (uint8, error)
- func (_Slp *SlpSession) DecreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpSession) IncreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpSession) IsMinter(_addr common.Address) (bool, error)
- func (_Slp *SlpSession) MainchainGateway() (common.Address, error)
- func (_Slp *SlpSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpSession) Minter(arg0 common.Address) (bool, error)
- func (_Slp *SlpSession) Minters(arg0 *big.Int) (common.Address, error)
- func (_Slp *SlpSession) Name() (string, error)
- func (_Slp *SlpSession) RemoveAdmin() (*types.Transaction, error)
- func (_Slp *SlpSession) RemoveMinters(_removedMinters []common.Address) (*types.Transaction, error)
- func (_Slp *SlpSession) Symbol() (string, error)
- func (_Slp *SlpSession) TotalSupply() (*big.Int, error)
- func (_Slp *SlpSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type SlpTransactor
- func (_Slp *SlpTransactor) AddMinters(opts *bind.TransactOpts, _addedMinters []common.Address) (*types.Transaction, error)
- func (_Slp *SlpTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactor) ChangeAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)
- func (_Slp *SlpTransactor) Checkpoint(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_Slp *SlpTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactor) RemoveAdmin(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Slp *SlpTransactor) RemoveMinters(opts *bind.TransactOpts, _removedMinters []common.Address) (*types.Transaction, error)
- func (_Slp *SlpTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type SlpTransactorRaw
- type SlpTransactorSession
- func (_Slp *SlpTransactorSession) AddMinters(_addedMinters []common.Address) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) ChangeAdmin(_newAdmin common.Address) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) Checkpoint(_owner common.Address, _amount *big.Int, _createdAt *big.Int, ...) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) DecreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) IncreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) RemoveAdmin() (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) RemoveMinters(_removedMinters []common.Address) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Slp *SlpTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type SlpTransfer
- type SlpTransferIterator
Constants ¶
This section is empty.
Variables ¶
var SlpABI = SlpMetaData.ABI
SlpABI is the input ABI used to generate the binding from. Deprecated: Use SlpMetaData.ABI instead.
var SlpBin = SlpMetaData.Bin
SlpBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SlpMetaData.Bin instead.
var SlpMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_mainchainGateway\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_oldAdmin\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_oldAdmin\",\"type\":\"address\"}],\"name\":\"AdminRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"MinterAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_minter\",\"type\":\"address\"}],\"name\":\"MinterRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_addedMinters\",\"type\":\"address[]\"}],\"name\":\"addMinters\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newAdmin\",\"type\":\"address\"}],\"name\":\"changeAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"isMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"mainchainGateway\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"minter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"minters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"removeAdmin\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_removedMinters\",\"type\":\"address[]\"}],\"name\":\"removeMinters\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x60806040523480156200001157600080fd5b50604051620027ef380380620027ef833981810160405260208110156200003757600080fd5b81019080805190602001909291905050506040518060400160405280601281526020017f536d6f6f7468204c6f766520506f74696f6e00000000000000000000000000008152506040518060400160405280600381526020017f534c5000000000000000000000000000000000000000000000000000000000008152506000336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f60405160405180910390a382600690805190602001906200018a9291906200058a565b508160079080519060200190620001a39291906200058a565b5080600860006101000a81548160ff021916908360ff160217905550505050620001d3816200026b60201b60201c565b60606001604051908082528060200260200182016040528015620002065781602001602082028038833980820191505090505b50905081816000815181106200021857fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505062000263816200033760201b60201c565b505062000639565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620002f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180620027b5603a913960400191505060405180910390fd5b80600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620003fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f48617341646d696e3a206e6f742061646d696e0000000000000000000000000081525060200191505060405180910390fd5b600080600090505b825181101562000585578281815181106200041957fe5b60200260200101519150600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16620005775760018290806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a25b808060010191505062000402565b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005cd57805160ff1916838001178555620005fe565b82800160010185558215620005fe579182015b82811115620005fd578251825591602001919060010190620005e0565b5b5090506200060d919062000611565b5090565b6200063691905b808211156200063257600081600090555060010162000618565b5090565b90565b61216c80620006496000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b85780639a202d471161007c5780639a202d471461075c578063a457c2d714610766578063a9059cbb146107cc578063aa271e1a14610832578063dd62ed3e1461088e578063f851a4401461090657610137565b806370a082311461051757806371e2a6571461056f5780638623ec7b146106275780638f2839701461069557806395d89b41146106d957610137565b806339509351116100ff57806339509351146102ed5780633dd08c381461035357806340c10f19146103af5780635a4ccad8146104155780635fc1964f1461045f57610137565b806306fdde031461013c578063095ea7b3146101bf57806318160ddd1461022557806323b872dd14610243578063313ce567146102c9575b600080fd5b610144610950565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610184578082015181840152602081019050610169565b50505050905090810190601f1680156101b15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61020b600480360360408110156101d557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109ee565b604051808215151515815260200191505060405180910390f35b61022d610a05565b6040518082815260200191505060405180910390f35b6102af6004803603606081101561025957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a0b565b604051808215151515815260200191505060405180910390f35b6102d1610aed565b604051808260ff1660ff16815260200191505060405180910390f35b6103396004803603604081101561030357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b00565b604051808215151515815260200191505060405180910390f35b6103956004803603602081101561036957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610ba5565b604051808215151515815260200191505060405180910390f35b6103fb600480360360408110156103c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bc5565b604051808215151515815260200191505060405180910390f35b61041d610c2f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105156004803603602081101561047557600080fd5b810190808035906020019064010000000081111561049257600080fd5b8201836020820111156104a457600080fd5b803590602001918460208302840111640100000000831117156104c657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610c55565b005b6105596004803603602081101561052d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fd9565b6040518082815260200191505060405180910390f35b6106256004803603602081101561058557600080fd5b81019080803590602001906401000000008111156105a257600080fd5b8201836020820111156105b457600080fd5b803590602001918460208302840111640100000000831117156105d657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050610ff1565b005b6106536004803603602081101561063d57600080fd5b810190808035906020019092919050505061123f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106d7600480360360208110156106ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061127b565b005b6106e1611481565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610721578082015181840152602081019050610706565b50505050905090810190601f16801561074e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61076461151f565b005b6107b26004803603604081101561077c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611688565b604051808215151515815260200191505060405180910390f35b610818600480360360408110156107e257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061172d565b604051808215151515815260200191505060405180910390f35b6108746004803603602081101561084857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611744565b604051808215151515815260200191505060405180910390f35b6108f0600480360360408110156108a457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061179a565b6040518082815260200191505060405180910390f35b61090e6118a0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e65780601f106109bb576101008083540402835291602001916109e6565b820191906000526020600020905b8154815290600101906020018083116109c957829003601f168201915b505050505081565b60006109fb3384846118c5565b6001905092915050565b60035481565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610a38853361179a565b14610ad757610ad68433610ad185600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611abc90919063ffffffff16565b6118c5565b5b610ae2848484611b3f565b600190509392505050565b600860009054906101000a900460ff1681565b6000610b9b3384610b9685600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6490919063ffffffff16565b6118c5565b6001905092915050565b60026020528060005260406000206000915054906101000a900460ff1681565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c1d57600080fd5b610c278383611ee7565b905092915050565b600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d17576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f48617341646d696e3a206e6f742061646d696e0000000000000000000000000081525060200191505060405180910390fd5b600080600090505b8251811015610e3957828181518110610d3457fe5b60200260200101519150600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e2c576000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669260405160405180910390a25b8080600101915050610d1f565b5060008090505b600180549050811015610fd45760018181548110610e5a57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610fc65760018080805490500381548110610eeb57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660018281548110610f2357fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018080805490500381548110610f7e57fe5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001805480919060019003610fc09190612009565b50610fcf565b80806001019150505b610e40565b505050565b60046020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f48617341646d696e3a206e6f742061646d696e0000000000000000000000000081525060200191505060405180910390fd5b600080600090505b825181101561123a578281815181106110d057fe5b60200260200101519150600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661122d5760018290806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f660405160405180910390a25b80806001019150506110bb565b505050565b6001818154811061124c57fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461133d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f48617341646d696e3a206e6f742061646d696e0000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806121116027913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f60405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156115175780601f106114ec57610100808354040283529160200191611517565b820191906000526020600020905b8154815290600101906020018083116114fa57829003601f168201915b505050505081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f48617341646d696e3a206e6f742061646d696e0000000000000000000000000081525060200191505060405180910390fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f60405160405180910390a260008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000611723338461171e85600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611abc90919063ffffffff16565b6118c5565b6001905092915050565b600061173a338484611b3f565b6001905092915050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561181a577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905061189a565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b92915050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561194b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806120ed6024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061207e6022913960400191505060405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600082821115611b34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806120c86025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c4b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061205b6023913960400191505060405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806120a06028913960400191505060405180910390fd5b611d2281600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611abc90919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611db781600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6490919063ffffffff16565b600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000818301905082811015611ee1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b92915050565b6000611efe82600354611e6490919063ffffffff16565b600381905550611f5682600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6490919063ffffffff16565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b8154818355818111156120305781836000526020600020918201910161202f9190612035565b5b505050565b61205791905b8082111561205357600081600090555060010161203b565b5090565b9056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220746f207468697320636f6e7472616374206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737348617341646d696e3a206e65772061646d696e20697320746865207a65726f2061646472657373a265627a7a7231582048a847f9465c076357f4bf588b1c41e2b387536588d7f513f05598be3c2f915f64736f6c6343000511003245524332304761746577617957686974656c6973743a2073657474696e67206761746577617920746f20746865207a65726f2061646472657373",
}
SlpMetaData contains all meta data concerning the Slp contract.
Functions ¶
This section is empty.
Types ¶
type Slp ¶
type Slp struct { SlpCaller // Read-only binding to the contract SlpTransactor // Write-only binding to the contract SlpFilterer // Log filterer for contract events }
Slp is an auto generated Go binding around an Ethereum contract.
func DeploySlp ¶
func DeploySlp(auth *bind.TransactOpts, backend bind.ContractBackend, _mainchainGateway common.Address) (common.Address, *types.Transaction, *Slp, error)
DeploySlp deploys a new Ethereum contract, binding an instance of Slp to it.
type SlpAdminChanged ¶
type SlpAdminChanged struct { OldAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
SlpAdminChanged represents a AdminChanged event raised by the Slp contract.
type SlpAdminChangedIterator ¶
type SlpAdminChangedIterator struct { Event *SlpAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlpAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Slp contract.
func (*SlpAdminChangedIterator) Close ¶
func (it *SlpAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlpAdminChangedIterator) Error ¶
func (it *SlpAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlpAdminChangedIterator) Next ¶
func (it *SlpAdminChangedIterator) 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 SlpAdminRemoved ¶
type SlpAdminRemoved struct { OldAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
SlpAdminRemoved represents a AdminRemoved event raised by the Slp contract.
type SlpAdminRemovedIterator ¶
type SlpAdminRemovedIterator struct { Event *SlpAdminRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlpAdminRemovedIterator is returned from FilterAdminRemoved and is used to iterate over the raw logs and unpacked data for AdminRemoved events raised by the Slp contract.
func (*SlpAdminRemovedIterator) Close ¶
func (it *SlpAdminRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlpAdminRemovedIterator) Error ¶
func (it *SlpAdminRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlpAdminRemovedIterator) Next ¶
func (it *SlpAdminRemovedIterator) 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 SlpApproval ¶
type SlpApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SlpApproval represents a Approval event raised by the Slp contract.
type SlpApprovalIterator ¶
type SlpApprovalIterator struct { Event *SlpApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlpApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Slp contract.
func (*SlpApprovalIterator) Close ¶
func (it *SlpApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlpApprovalIterator) Error ¶
func (it *SlpApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlpApprovalIterator) Next ¶
func (it *SlpApprovalIterator) 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 SlpCaller ¶
type SlpCaller struct {
// contains filtered or unexported fields
}
SlpCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSlpCaller ¶
NewSlpCaller creates a new read-only instance of Slp, bound to a specific deployed contract.
func (*SlpCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*SlpCaller) Allowance ¶
func (_Slp *SlpCaller) 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 _value)
func (*SlpCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*SlpCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SlpCaller) IsMinter ¶
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address _addr) view returns(bool)
func (*SlpCaller) MainchainGateway ¶
MainchainGateway is a free data retrieval call binding the contract method 0x5a4ccad8.
Solidity: function mainchainGateway() view returns(address)
func (*SlpCaller) Minter ¶
Minter is a free data retrieval call binding the contract method 0x3dd08c38.
Solidity: function minter(address ) view returns(bool)
func (*SlpCaller) Minters ¶
Minters is a free data retrieval call binding the contract method 0x8623ec7b.
Solidity: function minters(uint256 ) view returns(address)
func (*SlpCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
type SlpCallerRaw ¶
type SlpCallerRaw struct {
Contract *SlpCaller // Generic read-only contract binding to access the raw methods on
}
SlpCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SlpCallerRaw) Call ¶
func (_Slp *SlpCallerRaw) 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 SlpCallerSession ¶
type SlpCallerSession struct { Contract *SlpCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SlpCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SlpCallerSession) Admin ¶
func (_Slp *SlpCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*SlpCallerSession) Allowance ¶
func (_Slp *SlpCallerSession) 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 _value)
func (*SlpCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*SlpCallerSession) Decimals ¶
func (_Slp *SlpCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SlpCallerSession) IsMinter ¶
func (_Slp *SlpCallerSession) IsMinter(_addr common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address _addr) view returns(bool)
func (*SlpCallerSession) MainchainGateway ¶
func (_Slp *SlpCallerSession) MainchainGateway() (common.Address, error)
MainchainGateway is a free data retrieval call binding the contract method 0x5a4ccad8.
Solidity: function mainchainGateway() view returns(address)
func (*SlpCallerSession) Minter ¶
func (_Slp *SlpCallerSession) Minter(arg0 common.Address) (bool, error)
Minter is a free data retrieval call binding the contract method 0x3dd08c38.
Solidity: function minter(address ) view returns(bool)
func (*SlpCallerSession) Minters ¶
Minters is a free data retrieval call binding the contract method 0x8623ec7b.
Solidity: function minters(uint256 ) view returns(address)
func (*SlpCallerSession) Name ¶
func (_Slp *SlpCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SlpCallerSession) Symbol ¶
func (_Slp *SlpCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SlpCallerSession) TotalSupply ¶
func (_Slp *SlpCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type SlpFilterer ¶
type SlpFilterer struct {
// contains filtered or unexported fields
}
SlpFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSlpFilterer ¶
func NewSlpFilterer(address common.Address, filterer bind.ContractFilterer) (*SlpFilterer, error)
NewSlpFilterer creates a new log filterer instance of Slp, bound to a specific deployed contract.
func (*SlpFilterer) FilterAdminChanged ¶
func (_Slp *SlpFilterer) FilterAdminChanged(opts *bind.FilterOpts, _oldAdmin []common.Address, _newAdmin []common.Address) (*SlpAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address indexed _oldAdmin, address indexed _newAdmin)
func (*SlpFilterer) FilterAdminRemoved ¶
func (_Slp *SlpFilterer) FilterAdminRemoved(opts *bind.FilterOpts, _oldAdmin []common.Address) (*SlpAdminRemovedIterator, error)
FilterAdminRemoved is a free log retrieval operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: event AdminRemoved(address indexed _oldAdmin)
func (*SlpFilterer) FilterApproval ¶
func (_Slp *SlpFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*SlpApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*SlpFilterer) FilterMinterAdded ¶
func (_Slp *SlpFilterer) FilterMinterAdded(opts *bind.FilterOpts, _minter []common.Address) (*SlpMinterAddedIterator, error)
FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.
Solidity: event MinterAdded(address indexed _minter)
func (*SlpFilterer) FilterMinterRemoved ¶
func (_Slp *SlpFilterer) FilterMinterRemoved(opts *bind.FilterOpts, _minter []common.Address) (*SlpMinterRemovedIterator, error)
FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.
Solidity: event MinterRemoved(address indexed _minter)
func (*SlpFilterer) FilterTransfer ¶
func (_Slp *SlpFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*SlpTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*SlpFilterer) ParseAdminChanged ¶
func (_Slp *SlpFilterer) ParseAdminChanged(log types.Log) (*SlpAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address indexed _oldAdmin, address indexed _newAdmin)
func (*SlpFilterer) ParseAdminRemoved ¶
func (_Slp *SlpFilterer) ParseAdminRemoved(log types.Log) (*SlpAdminRemoved, error)
ParseAdminRemoved is a log parse operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: event AdminRemoved(address indexed _oldAdmin)
func (*SlpFilterer) ParseApproval ¶
func (_Slp *SlpFilterer) ParseApproval(log types.Log) (*SlpApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*SlpFilterer) ParseMinterAdded ¶
func (_Slp *SlpFilterer) ParseMinterAdded(log types.Log) (*SlpMinterAdded, error)
ParseMinterAdded is a log parse operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.
Solidity: event MinterAdded(address indexed _minter)
func (*SlpFilterer) ParseMinterRemoved ¶
func (_Slp *SlpFilterer) ParseMinterRemoved(log types.Log) (*SlpMinterRemoved, error)
ParseMinterRemoved is a log parse operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.
Solidity: event MinterRemoved(address indexed _minter)
func (*SlpFilterer) ParseTransfer ¶
func (_Slp *SlpFilterer) ParseTransfer(log types.Log) (*SlpTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*SlpFilterer) WatchAdminChanged ¶
func (_Slp *SlpFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *SlpAdminChanged, _oldAdmin []common.Address, _newAdmin []common.Address) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address indexed _oldAdmin, address indexed _newAdmin)
func (*SlpFilterer) WatchAdminRemoved ¶
func (_Slp *SlpFilterer) WatchAdminRemoved(opts *bind.WatchOpts, sink chan<- *SlpAdminRemoved, _oldAdmin []common.Address) (event.Subscription, error)
WatchAdminRemoved is a free log subscription operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: event AdminRemoved(address indexed _oldAdmin)
func (*SlpFilterer) WatchApproval ¶
func (_Slp *SlpFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SlpApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*SlpFilterer) WatchMinterAdded ¶
func (_Slp *SlpFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *SlpMinterAdded, _minter []common.Address) (event.Subscription, error)
WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.
Solidity: event MinterAdded(address indexed _minter)
func (*SlpFilterer) WatchMinterRemoved ¶
func (_Slp *SlpFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *SlpMinterRemoved, _minter []common.Address) (event.Subscription, error)
WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.
Solidity: event MinterRemoved(address indexed _minter)
func (*SlpFilterer) WatchTransfer ¶
func (_Slp *SlpFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SlpTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
type SlpMinterAdded ¶
type SlpMinterAdded struct { Minter common.Address Raw types.Log // Blockchain specific contextual infos }
SlpMinterAdded represents a MinterAdded event raised by the Slp contract.
type SlpMinterAddedIterator ¶
type SlpMinterAddedIterator struct { Event *SlpMinterAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlpMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the Slp contract.
func (*SlpMinterAddedIterator) Close ¶
func (it *SlpMinterAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlpMinterAddedIterator) Error ¶
func (it *SlpMinterAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlpMinterAddedIterator) Next ¶
func (it *SlpMinterAddedIterator) 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 SlpMinterRemoved ¶
type SlpMinterRemoved struct { Minter common.Address Raw types.Log // Blockchain specific contextual infos }
SlpMinterRemoved represents a MinterRemoved event raised by the Slp contract.
type SlpMinterRemovedIterator ¶
type SlpMinterRemovedIterator struct { Event *SlpMinterRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlpMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the Slp contract.
func (*SlpMinterRemovedIterator) Close ¶
func (it *SlpMinterRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlpMinterRemovedIterator) Error ¶
func (it *SlpMinterRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlpMinterRemovedIterator) Next ¶
func (it *SlpMinterRemovedIterator) 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 SlpRaw ¶
type SlpRaw struct {
Contract *Slp // Generic contract binding to access the raw methods on
}
SlpRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SlpRaw) Call ¶
func (_Slp *SlpRaw) 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 (*SlpRaw) Transact ¶
func (_Slp *SlpRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SlpRaw) Transfer ¶
func (_Slp *SlpRaw) 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 SlpSession ¶
type SlpSession struct { Contract *Slp // 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 }
SlpSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SlpSession) AddMinters ¶
func (_Slp *SlpSession) AddMinters(_addedMinters []common.Address) (*types.Transaction, error)
AddMinters is a paid mutator transaction binding the contract method 0x71e2a657.
Solidity: function addMinters(address[] _addedMinters) returns()
func (*SlpSession) Admin ¶
func (_Slp *SlpSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*SlpSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256 _value)
func (*SlpSession) Approve ¶
func (_Slp *SlpSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*SlpSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*SlpSession) ChangeAdmin ¶
func (_Slp *SlpSession) ChangeAdmin(_newAdmin common.Address) (*types.Transaction, error)
ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.
Solidity: function changeAdmin(address _newAdmin) returns()
func (*SlpSession) Checkpoint ¶
func (_Slp *SlpSession) Checkpoint(_owner common.Address, _amount *big.Int, _createdAt *big.Int, _signature []byte) (*types.Transaction, error)
Checkpoint is a paid mutator transaction binding the contract method 0xd3392ddf.
Solidity: function checkpoint(address _owner, uint256 _amount, uint256 _createdAt, bytes _signature) returns(uint256 _balance)
func (*SlpSession) Decimals ¶
func (_Slp *SlpSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*SlpSession) DecreaseAllowance ¶
func (_Slp *SlpSession) DecreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address _spender, uint256 _value) returns(bool)
func (*SlpSession) IncreaseAllowance ¶
func (_Slp *SlpSession) IncreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address _spender, uint256 _value) returns(bool)
func (*SlpSession) IsMinter ¶
func (_Slp *SlpSession) IsMinter(_addr common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address _addr) view returns(bool)
func (*SlpSession) MainchainGateway ¶
func (_Slp *SlpSession) MainchainGateway() (common.Address, error)
MainchainGateway is a free data retrieval call binding the contract method 0x5a4ccad8.
Solidity: function mainchainGateway() view returns(address)
func (*SlpSession) Mint ¶
func (_Slp *SlpSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _value) returns(bool _success)
func (*SlpSession) Minter ¶
func (_Slp *SlpSession) Minter(arg0 common.Address) (bool, error)
Minter is a free data retrieval call binding the contract method 0x3dd08c38.
Solidity: function minter(address ) view returns(bool)
func (*SlpSession) Minters ¶
Minters is a free data retrieval call binding the contract method 0x8623ec7b.
Solidity: function minters(uint256 ) view returns(address)
func (*SlpSession) Name ¶
func (_Slp *SlpSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*SlpSession) RemoveAdmin ¶
func (_Slp *SlpSession) RemoveAdmin() (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x9a202d47.
Solidity: function removeAdmin() returns()
func (*SlpSession) RemoveMinters ¶
func (_Slp *SlpSession) RemoveMinters(_removedMinters []common.Address) (*types.Transaction, error)
RemoveMinters is a paid mutator transaction binding the contract method 0x5fc1964f.
Solidity: function removeMinters(address[] _removedMinters) returns()
func (*SlpSession) Symbol ¶
func (_Slp *SlpSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*SlpSession) TotalSupply ¶
func (_Slp *SlpSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*SlpSession) Transfer ¶
func (_Slp *SlpSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool _success)
func (*SlpSession) TransferFrom ¶
func (_Slp *SlpSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool _success)
type SlpTransactor ¶
type SlpTransactor struct {
// contains filtered or unexported fields
}
SlpTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSlpTransactor ¶
func NewSlpTransactor(address common.Address, transactor bind.ContractTransactor) (*SlpTransactor, error)
NewSlpTransactor creates a new write-only instance of Slp, bound to a specific deployed contract.
func (*SlpTransactor) AddMinters ¶
func (_Slp *SlpTransactor) AddMinters(opts *bind.TransactOpts, _addedMinters []common.Address) (*types.Transaction, error)
AddMinters is a paid mutator transaction binding the contract method 0x71e2a657.
Solidity: function addMinters(address[] _addedMinters) returns()
func (*SlpTransactor) Approve ¶
func (_Slp *SlpTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*SlpTransactor) ChangeAdmin ¶
func (_Slp *SlpTransactor) ChangeAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)
ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.
Solidity: function changeAdmin(address _newAdmin) returns()
func (*SlpTransactor) Checkpoint ¶
func (_Slp *SlpTransactor) Checkpoint(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int, _createdAt *big.Int, _signature []byte) (*types.Transaction, error)
Checkpoint is a paid mutator transaction binding the contract method 0xd3392ddf.
Solidity: function checkpoint(address _owner, uint256 _amount, uint256 _createdAt, bytes _signature) returns(uint256 _balance)
func (*SlpTransactor) DecreaseAllowance ¶
func (_Slp *SlpTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address _spender, uint256 _value) returns(bool)
func (*SlpTransactor) IncreaseAllowance ¶
func (_Slp *SlpTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address _spender, uint256 _value) returns(bool)
func (*SlpTransactor) Mint ¶
func (_Slp *SlpTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _value) returns(bool _success)
func (*SlpTransactor) RemoveAdmin ¶
func (_Slp *SlpTransactor) RemoveAdmin(opts *bind.TransactOpts) (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x9a202d47.
Solidity: function removeAdmin() returns()
func (*SlpTransactor) RemoveMinters ¶
func (_Slp *SlpTransactor) RemoveMinters(opts *bind.TransactOpts, _removedMinters []common.Address) (*types.Transaction, error)
RemoveMinters is a paid mutator transaction binding the contract method 0x5fc1964f.
Solidity: function removeMinters(address[] _removedMinters) returns()
func (*SlpTransactor) Transfer ¶
func (_Slp *SlpTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool _success)
func (*SlpTransactor) TransferFrom ¶
func (_Slp *SlpTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool _success)
type SlpTransactorRaw ¶
type SlpTransactorRaw struct {
Contract *SlpTransactor // Generic write-only contract binding to access the raw methods on
}
SlpTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SlpTransactorRaw) Transact ¶
func (_Slp *SlpTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SlpTransactorRaw) Transfer ¶
func (_Slp *SlpTransactorRaw) 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 SlpTransactorSession ¶
type SlpTransactorSession struct { Contract *SlpTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SlpTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SlpTransactorSession) AddMinters ¶
func (_Slp *SlpTransactorSession) AddMinters(_addedMinters []common.Address) (*types.Transaction, error)
AddMinters is a paid mutator transaction binding the contract method 0x71e2a657.
Solidity: function addMinters(address[] _addedMinters) returns()
func (*SlpTransactorSession) Approve ¶
func (_Slp *SlpTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*SlpTransactorSession) ChangeAdmin ¶
func (_Slp *SlpTransactorSession) ChangeAdmin(_newAdmin common.Address) (*types.Transaction, error)
ChangeAdmin is a paid mutator transaction binding the contract method 0x8f283970.
Solidity: function changeAdmin(address _newAdmin) returns()
func (*SlpTransactorSession) Checkpoint ¶
func (_Slp *SlpTransactorSession) Checkpoint(_owner common.Address, _amount *big.Int, _createdAt *big.Int, _signature []byte) (*types.Transaction, error)
Checkpoint is a paid mutator transaction binding the contract method 0xd3392ddf.
Solidity: function checkpoint(address _owner, uint256 _amount, uint256 _createdAt, bytes _signature) returns(uint256 _balance)
func (*SlpTransactorSession) DecreaseAllowance ¶
func (_Slp *SlpTransactorSession) DecreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address _spender, uint256 _value) returns(bool)
func (*SlpTransactorSession) IncreaseAllowance ¶
func (_Slp *SlpTransactorSession) IncreaseAllowance(_spender common.Address, _value *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address _spender, uint256 _value) returns(bool)
func (*SlpTransactorSession) Mint ¶
func (_Slp *SlpTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _value) returns(bool _success)
func (*SlpTransactorSession) RemoveAdmin ¶
func (_Slp *SlpTransactorSession) RemoveAdmin() (*types.Transaction, error)
RemoveAdmin is a paid mutator transaction binding the contract method 0x9a202d47.
Solidity: function removeAdmin() returns()
func (*SlpTransactorSession) RemoveMinters ¶
func (_Slp *SlpTransactorSession) RemoveMinters(_removedMinters []common.Address) (*types.Transaction, error)
RemoveMinters is a paid mutator transaction binding the contract method 0x5fc1964f.
Solidity: function removeMinters(address[] _removedMinters) returns()
func (*SlpTransactorSession) Transfer ¶
func (_Slp *SlpTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool _success)
func (*SlpTransactorSession) TransferFrom ¶
func (_Slp *SlpTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool _success)
type SlpTransfer ¶
type SlpTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
SlpTransfer represents a Transfer event raised by the Slp contract.
type SlpTransferIterator ¶
type SlpTransferIterator struct { Event *SlpTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SlpTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Slp contract.
func (*SlpTransferIterator) Close ¶
func (it *SlpTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SlpTransferIterator) Error ¶
func (it *SlpTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SlpTransferIterator) Next ¶
func (it *SlpTransferIterator) 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.