levtoken

package
v0.0.0-...-c2006ba Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LevtokenABI = "" /* 8857-byte string literal not displayed */

LevtokenABI is the input ABI used to generate the binding from.

Variables

View Source
var LevtokenBin = "" /* 15654-byte string literal not displayed */

LevtokenBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Levtoken

type Levtoken struct {
	LevtokenCaller     // Read-only binding to the contract
	LevtokenTransactor // Write-only binding to the contract
	LevtokenFilterer   // Log filterer for contract events
}

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

func DeployLevtoken

func DeployLevtoken(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string, cap *big.Int) (common.Address, *types.Transaction, *Levtoken, error)

DeployLevtoken deploys a new Ethereum contract, binding an instance of Levtoken to it.

func NewLevtoken

func NewLevtoken(address common.Address, backend bind.ContractBackend) (*Levtoken, error)

NewLevtoken creates a new instance of Levtoken, bound to a specific deployed contract.

type LevtokenApproval

type LevtokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LevtokenApproval represents a Approval event raised by the Levtoken contract.

type LevtokenApprovalIterator

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

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

func (*LevtokenApprovalIterator) Close

func (it *LevtokenApprovalIterator) Close() error

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

func (*LevtokenApprovalIterator) Error

func (it *LevtokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenApprovalIterator) Next

func (it *LevtokenApprovalIterator) 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 LevtokenCaller

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

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

func NewLevtokenCaller

func NewLevtokenCaller(address common.Address, caller bind.ContractCaller) (*LevtokenCaller, error)

NewLevtokenCaller creates a new read-only instance of Levtoken, bound to a specific deployed contract.

func (*LevtokenCaller) Allowance

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) BalanceOf

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) Cap

func (_Levtoken *LevtokenCaller) Cap(opts *bind.CallOpts) (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() view returns(uint256)

func (*LevtokenCaller) DEFAULTADMINROLE

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) Decimals

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) GetRoleAdmin

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) GetRoleMember

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) GetRoleMemberCount

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) HasRole

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) MINTERROLE

func (_Levtoken *LevtokenCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*LevtokenCaller) Name

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) PAUSERROLE

func (_Levtoken *LevtokenCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*LevtokenCaller) Paused

func (_Levtoken *LevtokenCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*LevtokenCaller) Symbol

func (_Levtoken *LevtokenCaller) 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 (*LevtokenCaller) TotalSupply

func (_Levtoken *LevtokenCaller) 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 LevtokenCallerRaw

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

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

func (*LevtokenCallerRaw) Call

func (_Levtoken *LevtokenCallerRaw) 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 LevtokenCallerSession

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

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

func (*LevtokenCallerSession) Allowance

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) BalanceOf

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) Cap

func (_Levtoken *LevtokenCallerSession) Cap() (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() view returns(uint256)

func (*LevtokenCallerSession) DEFAULTADMINROLE

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) Decimals

func (_Levtoken *LevtokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LevtokenCallerSession) GetRoleAdmin

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) GetRoleMember

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) GetRoleMemberCount

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) HasRole

func (_Levtoken *LevtokenCallerSession) 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 (*LevtokenCallerSession) MINTERROLE

func (_Levtoken *LevtokenCallerSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*LevtokenCallerSession) Name

func (_Levtoken *LevtokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*LevtokenCallerSession) PAUSERROLE

func (_Levtoken *LevtokenCallerSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*LevtokenCallerSession) Paused

func (_Levtoken *LevtokenCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*LevtokenCallerSession) Symbol

func (_Levtoken *LevtokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LevtokenCallerSession) TotalSupply

func (_Levtoken *LevtokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LevtokenFilterer

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

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

func NewLevtokenFilterer

func NewLevtokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LevtokenFilterer, error)

NewLevtokenFilterer creates a new log filterer instance of Levtoken, bound to a specific deployed contract.

func (*LevtokenFilterer) FilterApproval

func (_Levtoken *LevtokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LevtokenApprovalIterator, 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 (*LevtokenFilterer) FilterPaused

func (_Levtoken *LevtokenFilterer) FilterPaused(opts *bind.FilterOpts) (*LevtokenPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*LevtokenFilterer) FilterRoleAdminChanged

func (_Levtoken *LevtokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*LevtokenRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*LevtokenFilterer) FilterRoleGranted

func (_Levtoken *LevtokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*LevtokenRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*LevtokenFilterer) FilterRoleRevoked

func (_Levtoken *LevtokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*LevtokenRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*LevtokenFilterer) FilterTransfer

func (_Levtoken *LevtokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LevtokenTransferIterator, 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 (*LevtokenFilterer) FilterUnpaused

func (_Levtoken *LevtokenFilterer) FilterUnpaused(opts *bind.FilterOpts) (*LevtokenUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*LevtokenFilterer) ParseApproval

func (_Levtoken *LevtokenFilterer) ParseApproval(log types.Log) (*LevtokenApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LevtokenFilterer) ParsePaused

func (_Levtoken *LevtokenFilterer) ParsePaused(log types.Log) (*LevtokenPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*LevtokenFilterer) ParseRoleAdminChanged

func (_Levtoken *LevtokenFilterer) ParseRoleAdminChanged(log types.Log) (*LevtokenRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*LevtokenFilterer) ParseRoleGranted

func (_Levtoken *LevtokenFilterer) ParseRoleGranted(log types.Log) (*LevtokenRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*LevtokenFilterer) ParseRoleRevoked

func (_Levtoken *LevtokenFilterer) ParseRoleRevoked(log types.Log) (*LevtokenRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*LevtokenFilterer) ParseTransfer

func (_Levtoken *LevtokenFilterer) ParseTransfer(log types.Log) (*LevtokenTransfer, error)

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

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

func (*LevtokenFilterer) ParseUnpaused

func (_Levtoken *LevtokenFilterer) ParseUnpaused(log types.Log) (*LevtokenUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*LevtokenFilterer) WatchApproval

func (_Levtoken *LevtokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LevtokenApproval, 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 (*LevtokenFilterer) WatchPaused

func (_Levtoken *LevtokenFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *LevtokenPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*LevtokenFilterer) WatchRoleAdminChanged

func (_Levtoken *LevtokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *LevtokenRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*LevtokenFilterer) WatchRoleGranted

func (_Levtoken *LevtokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *LevtokenRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*LevtokenFilterer) WatchRoleRevoked

func (_Levtoken *LevtokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *LevtokenRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*LevtokenFilterer) WatchTransfer

func (_Levtoken *LevtokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LevtokenTransfer, 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)

func (*LevtokenFilterer) WatchUnpaused

func (_Levtoken *LevtokenFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *LevtokenUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type LevtokenPaused

type LevtokenPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LevtokenPaused represents a Paused event raised by the Levtoken contract.

type LevtokenPausedIterator

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

LevtokenPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Levtoken contract.

func (*LevtokenPausedIterator) Close

func (it *LevtokenPausedIterator) Close() error

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

func (*LevtokenPausedIterator) Error

func (it *LevtokenPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenPausedIterator) Next

func (it *LevtokenPausedIterator) 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 LevtokenRaw

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

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

func (*LevtokenRaw) Call

func (_Levtoken *LevtokenRaw) 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 (*LevtokenRaw) Transact

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

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

func (*LevtokenRaw) Transfer

func (_Levtoken *LevtokenRaw) 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 LevtokenRoleAdminChanged

type LevtokenRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

LevtokenRoleAdminChanged represents a RoleAdminChanged event raised by the Levtoken contract.

type LevtokenRoleAdminChangedIterator

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

LevtokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Levtoken contract.

func (*LevtokenRoleAdminChangedIterator) Close

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

func (*LevtokenRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenRoleAdminChangedIterator) Next

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

type LevtokenRoleGranted

type LevtokenRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LevtokenRoleGranted represents a RoleGranted event raised by the Levtoken contract.

type LevtokenRoleGrantedIterator

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

LevtokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Levtoken contract.

func (*LevtokenRoleGrantedIterator) Close

func (it *LevtokenRoleGrantedIterator) Close() error

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

func (*LevtokenRoleGrantedIterator) Error

func (it *LevtokenRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenRoleGrantedIterator) Next

func (it *LevtokenRoleGrantedIterator) 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 LevtokenRoleRevoked

type LevtokenRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LevtokenRoleRevoked represents a RoleRevoked event raised by the Levtoken contract.

type LevtokenRoleRevokedIterator

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

LevtokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Levtoken contract.

func (*LevtokenRoleRevokedIterator) Close

func (it *LevtokenRoleRevokedIterator) Close() error

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

func (*LevtokenRoleRevokedIterator) Error

func (it *LevtokenRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenRoleRevokedIterator) Next

func (it *LevtokenRoleRevokedIterator) 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 LevtokenSession

type LevtokenSession struct {
	Contract     *Levtoken         // 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
}

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

func (*LevtokenSession) Allowance

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) Approve

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) BalanceOf

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) Burn

func (_Levtoken *LevtokenSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*LevtokenSession) BurnFrom

func (_Levtoken *LevtokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*LevtokenSession) Cap

func (_Levtoken *LevtokenSession) Cap() (*big.Int, error)

Cap is a free data retrieval call binding the contract method 0x355274ea.

Solidity: function cap() view returns(uint256)

func (*LevtokenSession) DEFAULTADMINROLE

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) Decimals

func (_Levtoken *LevtokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LevtokenSession) DecreaseAllowance

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) GetRoleAdmin

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) GetRoleMember

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) GetRoleMemberCount

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) GrantRole

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) HasRole

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) IncreaseAllowance

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) MINTERROLE

func (_Levtoken *LevtokenSession) MINTERROLE() ([32]byte, error)

MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.

Solidity: function MINTER_ROLE() view returns(bytes32)

func (*LevtokenSession) Mint

func (_Levtoken *LevtokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*LevtokenSession) Name

func (_Levtoken *LevtokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*LevtokenSession) PAUSERROLE

func (_Levtoken *LevtokenSession) PAUSERROLE() ([32]byte, error)

PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.

Solidity: function PAUSER_ROLE() view returns(bytes32)

func (*LevtokenSession) Pause

func (_Levtoken *LevtokenSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*LevtokenSession) Paused

func (_Levtoken *LevtokenSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*LevtokenSession) RenounceRole

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) RevokeRole

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) Symbol

func (_Levtoken *LevtokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*LevtokenSession) TotalSupply

func (_Levtoken *LevtokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*LevtokenSession) Transfer

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) TransferFrom

func (_Levtoken *LevtokenSession) 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 (*LevtokenSession) Unpause

func (_Levtoken *LevtokenSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type LevtokenTransactor

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

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

func NewLevtokenTransactor

func NewLevtokenTransactor(address common.Address, transactor bind.ContractTransactor) (*LevtokenTransactor, error)

NewLevtokenTransactor creates a new write-only instance of Levtoken, bound to a specific deployed contract.

func (*LevtokenTransactor) Approve

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) Burn

func (_Levtoken *LevtokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*LevtokenTransactor) BurnFrom

func (_Levtoken *LevtokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*LevtokenTransactor) DecreaseAllowance

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) GrantRole

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) IncreaseAllowance

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) Mint

func (_Levtoken *LevtokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*LevtokenTransactor) Pause

func (_Levtoken *LevtokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*LevtokenTransactor) RenounceRole

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) RevokeRole

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) Transfer

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) TransferFrom

func (_Levtoken *LevtokenTransactor) 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 (*LevtokenTransactor) Unpause

func (_Levtoken *LevtokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type LevtokenTransactorRaw

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

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

func (*LevtokenTransactorRaw) Transact

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

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

func (*LevtokenTransactorRaw) Transfer

func (_Levtoken *LevtokenTransactorRaw) 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 LevtokenTransactorSession

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

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

func (*LevtokenTransactorSession) Approve

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) Burn

func (_Levtoken *LevtokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 amount) returns()

func (*LevtokenTransactorSession) BurnFrom

func (_Levtoken *LevtokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*LevtokenTransactorSession) DecreaseAllowance

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) GrantRole

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) IncreaseAllowance

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) Mint

func (_Levtoken *LevtokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address to, uint256 amount) returns()

func (*LevtokenTransactorSession) Pause

func (_Levtoken *LevtokenTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*LevtokenTransactorSession) RenounceRole

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) RevokeRole

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) Transfer

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) TransferFrom

func (_Levtoken *LevtokenTransactorSession) 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 (*LevtokenTransactorSession) Unpause

func (_Levtoken *LevtokenTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type LevtokenTransfer

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

LevtokenTransfer represents a Transfer event raised by the Levtoken contract.

type LevtokenTransferIterator

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

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

func (*LevtokenTransferIterator) Close

func (it *LevtokenTransferIterator) Close() error

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

func (*LevtokenTransferIterator) Error

func (it *LevtokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenTransferIterator) Next

func (it *LevtokenTransferIterator) 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 LevtokenUnpaused

type LevtokenUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LevtokenUnpaused represents a Unpaused event raised by the Levtoken contract.

type LevtokenUnpausedIterator

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

LevtokenUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Levtoken contract.

func (*LevtokenUnpausedIterator) Close

func (it *LevtokenUnpausedIterator) Close() error

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

func (*LevtokenUnpausedIterator) Error

func (it *LevtokenUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LevtokenUnpausedIterator) Next

func (it *LevtokenUnpausedIterator) Next() bool

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

Jump to

Keyboard shortcuts

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