bancortoken

package
v1.14.10 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BancortokenABI = BancortokenMetaData.ABI

BancortokenABI is the input ABI used to generate the binding from. Deprecated: Use BancortokenMetaData.ABI instead.

View Source
var BancortokenMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_disable\",\"type\":\"bool\"}],\"name\":\"disableTransfers\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"standard\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawTokens\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"issue\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"destroy\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"name\":\"success\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"transfersEnabled\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"newOwner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"name\":\"\",\"type\":\"address\"},{\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"type\":\"function\"},{\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_decimals\",\"type\":\"uint8\"}],\"payable\":false,\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"NewSmartToken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Issuance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"Destruction\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"name\":\"_prevOwner\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"OwnerUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"name\":\"_owner\",\"type\":\"address\"},{\"indexed\":true,\"name\":\"_spender\",\"type\":\"address\"},{\"indexed\":false,\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"}]",
}

BancortokenMetaData contains all meta data concerning the Bancortoken contract.

Functions

This section is empty.

Types

type Bancortoken

type Bancortoken struct {
	BancortokenCaller     // Read-only binding to the contract
	BancortokenTransactor // Write-only binding to the contract
	BancortokenFilterer   // Log filterer for contract events
}

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

func NewBancortoken

func NewBancortoken(address common.Address, backend bind.ContractBackend) (*Bancortoken, error)

NewBancortoken creates a new instance of Bancortoken, bound to a specific deployed contract.

type BancortokenApproval

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

BancortokenApproval represents a Approval event raised by the Bancortoken contract.

type BancortokenApprovalIterator

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

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

func (*BancortokenApprovalIterator) Close

func (it *BancortokenApprovalIterator) Close() error

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

func (*BancortokenApprovalIterator) Error

func (it *BancortokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BancortokenApprovalIterator) Next

func (it *BancortokenApprovalIterator) 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 BancortokenCaller

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

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

func NewBancortokenCaller

func NewBancortokenCaller(address common.Address, caller bind.ContractCaller) (*BancortokenCaller, error)

NewBancortokenCaller creates a new read-only instance of Bancortoken, bound to a specific deployed contract.

func (*BancortokenCaller) Allowance

func (_Bancortoken *BancortokenCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) returns(uint256)

func (*BancortokenCaller) BalanceOf

func (_Bancortoken *BancortokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address ) returns(uint256)

func (*BancortokenCaller) Decimals

func (_Bancortoken *BancortokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() returns(uint8)

func (*BancortokenCaller) Name

func (_Bancortoken *BancortokenCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() returns(string)

func (*BancortokenCaller) NewOwner

func (_Bancortoken *BancortokenCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() returns(address)

func (*BancortokenCaller) Owner

func (_Bancortoken *BancortokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() returns(address)

func (*BancortokenCaller) Standard

func (_Bancortoken *BancortokenCaller) Standard(opts *bind.CallOpts) (string, error)

Standard is a free data retrieval call binding the contract method 0x5a3b7e42.

Solidity: function standard() returns(string)

func (*BancortokenCaller) Symbol

func (_Bancortoken *BancortokenCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() returns(string)

func (*BancortokenCaller) TotalSupply

func (_Bancortoken *BancortokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() returns(uint256)

func (*BancortokenCaller) TransfersEnabled

func (_Bancortoken *BancortokenCaller) TransfersEnabled(opts *bind.CallOpts) (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() returns(bool)

func (*BancortokenCaller) Version

func (_Bancortoken *BancortokenCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() returns(string)

type BancortokenCallerRaw

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

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

func (*BancortokenCallerRaw) Call

func (_Bancortoken *BancortokenCallerRaw) 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 BancortokenCallerSession

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

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

func (*BancortokenCallerSession) Allowance

func (_Bancortoken *BancortokenCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) returns(uint256)

func (*BancortokenCallerSession) BalanceOf

func (_Bancortoken *BancortokenCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address ) returns(uint256)

func (*BancortokenCallerSession) Decimals

func (_Bancortoken *BancortokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() returns(uint8)

func (*BancortokenCallerSession) Name

func (_Bancortoken *BancortokenCallerSession) Name() (string, error)

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

Solidity: function name() returns(string)

func (*BancortokenCallerSession) NewOwner

func (_Bancortoken *BancortokenCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() returns(address)

func (*BancortokenCallerSession) Owner

func (_Bancortoken *BancortokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address)

func (*BancortokenCallerSession) Standard

func (_Bancortoken *BancortokenCallerSession) Standard() (string, error)

Standard is a free data retrieval call binding the contract method 0x5a3b7e42.

Solidity: function standard() returns(string)

func (*BancortokenCallerSession) Symbol

func (_Bancortoken *BancortokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() returns(string)

func (*BancortokenCallerSession) TotalSupply

func (_Bancortoken *BancortokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() returns(uint256)

func (*BancortokenCallerSession) TransfersEnabled

func (_Bancortoken *BancortokenCallerSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() returns(bool)

func (*BancortokenCallerSession) Version

func (_Bancortoken *BancortokenCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() returns(string)

type BancortokenDestruction

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

BancortokenDestruction represents a Destruction event raised by the Bancortoken contract.

type BancortokenDestructionIterator

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

BancortokenDestructionIterator is returned from FilterDestruction and is used to iterate over the raw logs and unpacked data for Destruction events raised by the Bancortoken contract.

func (*BancortokenDestructionIterator) Close

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

func (*BancortokenDestructionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewBancortokenFilterer

func NewBancortokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BancortokenFilterer, error)

NewBancortokenFilterer creates a new log filterer instance of Bancortoken, bound to a specific deployed contract.

func (*BancortokenFilterer) FilterApproval

func (_Bancortoken *BancortokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*BancortokenApprovalIterator, 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 (*BancortokenFilterer) FilterDestruction

func (_Bancortoken *BancortokenFilterer) FilterDestruction(opts *bind.FilterOpts) (*BancortokenDestructionIterator, error)

FilterDestruction is a free log retrieval operation binding the contract event 0x9a1b418bc061a5d80270261562e6986a35d995f8051145f277be16103abd3453.

Solidity: event Destruction(uint256 _amount)

func (*BancortokenFilterer) FilterIssuance

func (_Bancortoken *BancortokenFilterer) FilterIssuance(opts *bind.FilterOpts) (*BancortokenIssuanceIterator, error)

FilterIssuance is a free log retrieval operation binding the contract event 0x9386c90217c323f58030f9dadcbc938f807a940f4ff41cd4cead9562f5da7dc3.

Solidity: event Issuance(uint256 _amount)

func (*BancortokenFilterer) FilterNewSmartToken

func (_Bancortoken *BancortokenFilterer) FilterNewSmartToken(opts *bind.FilterOpts) (*BancortokenNewSmartTokenIterator, error)

FilterNewSmartToken is a free log retrieval operation binding the contract event 0xf4cd1f8571e8d9c97ffcb81558807ab73f9803d54de5da6a0420593c82a4a9f0.

Solidity: event NewSmartToken(address _token)

func (*BancortokenFilterer) FilterOwnerUpdate

func (_Bancortoken *BancortokenFilterer) FilterOwnerUpdate(opts *bind.FilterOpts) (*BancortokenOwnerUpdateIterator, error)

FilterOwnerUpdate is a free log retrieval operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address _prevOwner, address _newOwner)

func (*BancortokenFilterer) FilterTransfer

func (_Bancortoken *BancortokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*BancortokenTransferIterator, 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 (*BancortokenFilterer) ParseApproval

func (_Bancortoken *BancortokenFilterer) ParseApproval(log types.Log) (*BancortokenApproval, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*BancortokenFilterer) ParseDestruction

func (_Bancortoken *BancortokenFilterer) ParseDestruction(log types.Log) (*BancortokenDestruction, error)

ParseDestruction is a log parse operation binding the contract event 0x9a1b418bc061a5d80270261562e6986a35d995f8051145f277be16103abd3453.

Solidity: event Destruction(uint256 _amount)

func (*BancortokenFilterer) ParseIssuance

func (_Bancortoken *BancortokenFilterer) ParseIssuance(log types.Log) (*BancortokenIssuance, error)

ParseIssuance is a log parse operation binding the contract event 0x9386c90217c323f58030f9dadcbc938f807a940f4ff41cd4cead9562f5da7dc3.

Solidity: event Issuance(uint256 _amount)

func (*BancortokenFilterer) ParseNewSmartToken

func (_Bancortoken *BancortokenFilterer) ParseNewSmartToken(log types.Log) (*BancortokenNewSmartToken, error)

ParseNewSmartToken is a log parse operation binding the contract event 0xf4cd1f8571e8d9c97ffcb81558807ab73f9803d54de5da6a0420593c82a4a9f0.

Solidity: event NewSmartToken(address _token)

func (*BancortokenFilterer) ParseOwnerUpdate

func (_Bancortoken *BancortokenFilterer) ParseOwnerUpdate(log types.Log) (*BancortokenOwnerUpdate, error)

ParseOwnerUpdate is a log parse operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address _prevOwner, address _newOwner)

func (*BancortokenFilterer) ParseTransfer

func (_Bancortoken *BancortokenFilterer) ParseTransfer(log types.Log) (*BancortokenTransfer, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*BancortokenFilterer) WatchApproval

func (_Bancortoken *BancortokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BancortokenApproval, _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 (*BancortokenFilterer) WatchDestruction

func (_Bancortoken *BancortokenFilterer) WatchDestruction(opts *bind.WatchOpts, sink chan<- *BancortokenDestruction) (event.Subscription, error)

WatchDestruction is a free log subscription operation binding the contract event 0x9a1b418bc061a5d80270261562e6986a35d995f8051145f277be16103abd3453.

Solidity: event Destruction(uint256 _amount)

func (*BancortokenFilterer) WatchIssuance

func (_Bancortoken *BancortokenFilterer) WatchIssuance(opts *bind.WatchOpts, sink chan<- *BancortokenIssuance) (event.Subscription, error)

WatchIssuance is a free log subscription operation binding the contract event 0x9386c90217c323f58030f9dadcbc938f807a940f4ff41cd4cead9562f5da7dc3.

Solidity: event Issuance(uint256 _amount)

func (*BancortokenFilterer) WatchNewSmartToken

func (_Bancortoken *BancortokenFilterer) WatchNewSmartToken(opts *bind.WatchOpts, sink chan<- *BancortokenNewSmartToken) (event.Subscription, error)

WatchNewSmartToken is a free log subscription operation binding the contract event 0xf4cd1f8571e8d9c97ffcb81558807ab73f9803d54de5da6a0420593c82a4a9f0.

Solidity: event NewSmartToken(address _token)

func (*BancortokenFilterer) WatchOwnerUpdate

func (_Bancortoken *BancortokenFilterer) WatchOwnerUpdate(opts *bind.WatchOpts, sink chan<- *BancortokenOwnerUpdate) (event.Subscription, error)

WatchOwnerUpdate is a free log subscription operation binding the contract event 0x343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a.

Solidity: event OwnerUpdate(address _prevOwner, address _newOwner)

func (*BancortokenFilterer) WatchTransfer

func (_Bancortoken *BancortokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BancortokenTransfer, _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 BancortokenIssuance

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

BancortokenIssuance represents a Issuance event raised by the Bancortoken contract.

type BancortokenIssuanceIterator

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

BancortokenIssuanceIterator is returned from FilterIssuance and is used to iterate over the raw logs and unpacked data for Issuance events raised by the Bancortoken contract.

func (*BancortokenIssuanceIterator) Close

func (it *BancortokenIssuanceIterator) Close() error

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

func (*BancortokenIssuanceIterator) Error

func (it *BancortokenIssuanceIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BancortokenIssuanceIterator) Next

func (it *BancortokenIssuanceIterator) 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 BancortokenNewSmartToken

type BancortokenNewSmartToken struct {
	Token common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

BancortokenNewSmartToken represents a NewSmartToken event raised by the Bancortoken contract.

type BancortokenNewSmartTokenIterator

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

BancortokenNewSmartTokenIterator is returned from FilterNewSmartToken and is used to iterate over the raw logs and unpacked data for NewSmartToken events raised by the Bancortoken contract.

func (*BancortokenNewSmartTokenIterator) Close

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

func (*BancortokenNewSmartTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

BancortokenOwnerUpdate represents a OwnerUpdate event raised by the Bancortoken contract.

type BancortokenOwnerUpdateIterator

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

BancortokenOwnerUpdateIterator is returned from FilterOwnerUpdate and is used to iterate over the raw logs and unpacked data for OwnerUpdate events raised by the Bancortoken contract.

func (*BancortokenOwnerUpdateIterator) Close

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

func (*BancortokenOwnerUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*BancortokenRaw) Call

func (_Bancortoken *BancortokenRaw) 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 (*BancortokenRaw) Transact

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

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

func (*BancortokenRaw) Transfer

func (_Bancortoken *BancortokenRaw) 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 BancortokenSession

type BancortokenSession struct {
	Contract     *Bancortoken      // 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
}

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

func (*BancortokenSession) AcceptOwnership

func (_Bancortoken *BancortokenSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*BancortokenSession) Allowance

func (_Bancortoken *BancortokenSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) returns(uint256)

func (*BancortokenSession) Approve

func (_Bancortoken *BancortokenSession) 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 success)

func (*BancortokenSession) BalanceOf

func (_Bancortoken *BancortokenSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address ) returns(uint256)

func (*BancortokenSession) Decimals

func (_Bancortoken *BancortokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() returns(uint8)

func (*BancortokenSession) Destroy

func (_Bancortoken *BancortokenSession) Destroy(_from common.Address, _amount *big.Int) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0xa24835d1.

Solidity: function destroy(address _from, uint256 _amount) returns()

func (*BancortokenSession) DisableTransfers

func (_Bancortoken *BancortokenSession) DisableTransfers(_disable bool) (*types.Transaction, error)

DisableTransfers is a paid mutator transaction binding the contract method 0x1608f18f.

Solidity: function disableTransfers(bool _disable) returns()

func (*BancortokenSession) Issue

func (_Bancortoken *BancortokenSession) Issue(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0x867904b4.

Solidity: function issue(address _to, uint256 _amount) returns()

func (*BancortokenSession) Name

func (_Bancortoken *BancortokenSession) Name() (string, error)

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

Solidity: function name() returns(string)

func (*BancortokenSession) NewOwner

func (_Bancortoken *BancortokenSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() returns(address)

func (*BancortokenSession) Owner

func (_Bancortoken *BancortokenSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address)

func (*BancortokenSession) Standard

func (_Bancortoken *BancortokenSession) Standard() (string, error)

Standard is a free data retrieval call binding the contract method 0x5a3b7e42.

Solidity: function standard() returns(string)

func (*BancortokenSession) Symbol

func (_Bancortoken *BancortokenSession) Symbol() (string, error)

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

Solidity: function symbol() returns(string)

func (*BancortokenSession) TotalSupply

func (_Bancortoken *BancortokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() returns(uint256)

func (*BancortokenSession) Transfer

func (_Bancortoken *BancortokenSession) 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 (*BancortokenSession) TransferFrom

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

func (*BancortokenSession) TransferOwnership

func (_Bancortoken *BancortokenSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _newOwner) returns()

func (*BancortokenSession) TransfersEnabled

func (_Bancortoken *BancortokenSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() returns(bool)

func (*BancortokenSession) Version

func (_Bancortoken *BancortokenSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() returns(string)

func (*BancortokenSession) WithdrawTokens

func (_Bancortoken *BancortokenSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.

Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()

type BancortokenTransactor

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

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

func NewBancortokenTransactor

func NewBancortokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BancortokenTransactor, error)

NewBancortokenTransactor creates a new write-only instance of Bancortoken, bound to a specific deployed contract.

func (*BancortokenTransactor) AcceptOwnership

func (_Bancortoken *BancortokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*BancortokenTransactor) Approve

func (_Bancortoken *BancortokenTransactor) 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 success)

func (*BancortokenTransactor) Destroy

func (_Bancortoken *BancortokenTransactor) Destroy(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0xa24835d1.

Solidity: function destroy(address _from, uint256 _amount) returns()

func (*BancortokenTransactor) DisableTransfers

func (_Bancortoken *BancortokenTransactor) DisableTransfers(opts *bind.TransactOpts, _disable bool) (*types.Transaction, error)

DisableTransfers is a paid mutator transaction binding the contract method 0x1608f18f.

Solidity: function disableTransfers(bool _disable) returns()

func (*BancortokenTransactor) Issue

func (_Bancortoken *BancortokenTransactor) Issue(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0x867904b4.

Solidity: function issue(address _to, uint256 _amount) returns()

func (*BancortokenTransactor) Transfer

func (_Bancortoken *BancortokenTransactor) 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 (*BancortokenTransactor) TransferFrom

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

func (*BancortokenTransactor) TransferOwnership

func (_Bancortoken *BancortokenTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _newOwner) returns()

func (*BancortokenTransactor) WithdrawTokens

func (_Bancortoken *BancortokenTransactor) WithdrawTokens(opts *bind.TransactOpts, _token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.

Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()

type BancortokenTransactorRaw

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

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

func (*BancortokenTransactorRaw) Transact

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

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

func (*BancortokenTransactorRaw) Transfer

func (_Bancortoken *BancortokenTransactorRaw) 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 BancortokenTransactorSession

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

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

func (*BancortokenTransactorSession) AcceptOwnership

func (_Bancortoken *BancortokenTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*BancortokenTransactorSession) Approve

func (_Bancortoken *BancortokenTransactorSession) 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 success)

func (*BancortokenTransactorSession) Destroy

func (_Bancortoken *BancortokenTransactorSession) Destroy(_from common.Address, _amount *big.Int) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0xa24835d1.

Solidity: function destroy(address _from, uint256 _amount) returns()

func (*BancortokenTransactorSession) DisableTransfers

func (_Bancortoken *BancortokenTransactorSession) DisableTransfers(_disable bool) (*types.Transaction, error)

DisableTransfers is a paid mutator transaction binding the contract method 0x1608f18f.

Solidity: function disableTransfers(bool _disable) returns()

func (*BancortokenTransactorSession) Issue

func (_Bancortoken *BancortokenTransactorSession) Issue(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Issue is a paid mutator transaction binding the contract method 0x867904b4.

Solidity: function issue(address _to, uint256 _amount) returns()

func (*BancortokenTransactorSession) Transfer

func (_Bancortoken *BancortokenTransactorSession) 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 (*BancortokenTransactorSession) TransferFrom

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

func (*BancortokenTransactorSession) TransferOwnership

func (_Bancortoken *BancortokenTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _newOwner) returns()

func (*BancortokenTransactorSession) WithdrawTokens

func (_Bancortoken *BancortokenTransactorSession) WithdrawTokens(_token common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawTokens is a paid mutator transaction binding the contract method 0x5e35359e.

Solidity: function withdrawTokens(address _token, address _to, uint256 _amount) returns()

type BancortokenTransfer

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

BancortokenTransfer represents a Transfer event raised by the Bancortoken contract.

type BancortokenTransferIterator

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

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

func (*BancortokenTransferIterator) Close

func (it *BancortokenTransferIterator) Close() error

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

func (*BancortokenTransferIterator) Error

func (it *BancortokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BancortokenTransferIterator) Next

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