supply

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package supply provides access to supply amount.

Index

Constants

View Source
const DecentrABI = "" /* 5117-byte string literal not displayed */

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

Variables

This section is empty.

Functions

func New

func New(nativeBankClient banktypes.QueryClient, erc20NodeURL string) *supply

New returns new instance of supply.

Types

type Decentr

type Decentr struct {
	DecentrCaller     // Read-only binding to the contract
	DecentrTransactor // Write-only binding to the contract
	DecentrFilterer   // Log filterer for contract events
}

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

func NewDecentr

func NewDecentr(address common.Address, backend bind.ContractBackend) (*Decentr, error)

NewDecentr creates a new instance of Decentr, bound to a specific deployed contract.

type DecentrApproval

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

DecentrApproval represents a Approval event raised by the Decentr contract.

type DecentrApprovalIterator

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

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

func (*DecentrApprovalIterator) Close

func (it *DecentrApprovalIterator) Close() error

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

func (*DecentrApprovalIterator) Error

func (it *DecentrApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DecentrApprovalIterator) Next

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

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

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

func NewDecentrCaller

func NewDecentrCaller(address common.Address, caller bind.ContractCaller) (*DecentrCaller, error)

NewDecentrCaller creates a new read-only instance of Decentr, bound to a specific deployed contract.

func (*DecentrCaller) Allowance

func (_Decentr *DecentrCaller) 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 (*DecentrCaller) BalanceOf

func (_Decentr *DecentrCaller) 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 (*DecentrCaller) Decimals

func (_Decentr *DecentrCaller) 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 (*DecentrCaller) Name

func (_Decentr *DecentrCaller) 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 (*DecentrCaller) Paused

func (_Decentr *DecentrCaller) 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 (*DecentrCaller) Symbol

func (_Decentr *DecentrCaller) 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 (*DecentrCaller) TotalSupply

func (_Decentr *DecentrCaller) 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 DecentrCallerRaw

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

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

func (*DecentrCallerRaw) Call

func (_Decentr *DecentrCallerRaw) 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 DecentrCallerSession

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

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

func (*DecentrCallerSession) Allowance

func (_Decentr *DecentrCallerSession) 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 (*DecentrCallerSession) BalanceOf

func (_Decentr *DecentrCallerSession) 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 (*DecentrCallerSession) Decimals

func (_Decentr *DecentrCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DecentrCallerSession) Name

func (_Decentr *DecentrCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DecentrCallerSession) Paused

func (_Decentr *DecentrCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*DecentrCallerSession) Symbol

func (_Decentr *DecentrCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DecentrCallerSession) TotalSupply

func (_Decentr *DecentrCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type DecentrFilterer

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

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

func NewDecentrFilterer

func NewDecentrFilterer(address common.Address, filterer bind.ContractFilterer) (*DecentrFilterer, error)

NewDecentrFilterer creates a new log filterer instance of Decentr, bound to a specific deployed contract.

func (*DecentrFilterer) FilterApproval

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

func (_Decentr *DecentrFilterer) FilterPaused(opts *bind.FilterOpts) (*DecentrPausedIterator, error)

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

Solidity: event Paused(address account)

func (*DecentrFilterer) FilterTokenMinterUpdated

func (_Decentr *DecentrFilterer) FilterTokenMinterUpdated(opts *bind.FilterOpts) (*DecentrTokenMinterUpdatedIterator, error)

FilterTokenMinterUpdated is a free log retrieval operation binding the contract event 0xc0b03631293a1271e5a4889feac6bf404057639169ce59cea5d4c0ae15f1a8e6.

Solidity: event TokenMinterUpdated(address minter)

func (*DecentrFilterer) FilterTransfer

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

func (_Decentr *DecentrFilterer) FilterUnpaused(opts *bind.FilterOpts) (*DecentrUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*DecentrFilterer) ParseApproval

func (_Decentr *DecentrFilterer) ParseApproval(log types.Log) (*DecentrApproval, error)

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

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

func (*DecentrFilterer) ParsePaused

func (_Decentr *DecentrFilterer) ParsePaused(log types.Log) (*DecentrPaused, error)

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

Solidity: event Paused(address account)

func (*DecentrFilterer) ParseTokenMinterUpdated

func (_Decentr *DecentrFilterer) ParseTokenMinterUpdated(log types.Log) (*DecentrTokenMinterUpdated, error)

ParseTokenMinterUpdated is a log parse operation binding the contract event 0xc0b03631293a1271e5a4889feac6bf404057639169ce59cea5d4c0ae15f1a8e6.

Solidity: event TokenMinterUpdated(address minter)

func (*DecentrFilterer) ParseTransfer

func (_Decentr *DecentrFilterer) ParseTransfer(log types.Log) (*DecentrTransfer, error)

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

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

func (*DecentrFilterer) ParseUnpaused

func (_Decentr *DecentrFilterer) ParseUnpaused(log types.Log) (*DecentrUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*DecentrFilterer) WatchApproval

func (_Decentr *DecentrFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DecentrApproval, 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 (*DecentrFilterer) WatchPaused

func (_Decentr *DecentrFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *DecentrPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*DecentrFilterer) WatchTokenMinterUpdated

func (_Decentr *DecentrFilterer) WatchTokenMinterUpdated(opts *bind.WatchOpts, sink chan<- *DecentrTokenMinterUpdated) (event.Subscription, error)

WatchTokenMinterUpdated is a free log subscription operation binding the contract event 0xc0b03631293a1271e5a4889feac6bf404057639169ce59cea5d4c0ae15f1a8e6.

Solidity: event TokenMinterUpdated(address minter)

func (*DecentrFilterer) WatchTransfer

func (_Decentr *DecentrFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DecentrTransfer, 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 (*DecentrFilterer) WatchUnpaused

func (_Decentr *DecentrFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *DecentrUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type DecentrPaused

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

DecentrPaused represents a Paused event raised by the Decentr contract.

type DecentrPausedIterator

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

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

func (*DecentrPausedIterator) Close

func (it *DecentrPausedIterator) Close() error

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

func (*DecentrPausedIterator) Error

func (it *DecentrPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DecentrPausedIterator) Next

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

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

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

func (*DecentrRaw) Call

func (_Decentr *DecentrRaw) 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 (*DecentrRaw) Transact

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

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

func (*DecentrRaw) Transfer

func (_Decentr *DecentrRaw) 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 DecentrSession

type DecentrSession struct {
	Contract     *Decentr          // 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
}

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

func (*DecentrSession) Allowance

func (_Decentr *DecentrSession) 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 (*DecentrSession) Approve

func (_Decentr *DecentrSession) 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 (*DecentrSession) BalanceOf

func (_Decentr *DecentrSession) 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 (*DecentrSession) Decimals

func (_Decentr *DecentrSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DecentrSession) DecreaseAllowance

func (_Decentr *DecentrSession) 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 (*DecentrSession) IncreaseAllowance

func (_Decentr *DecentrSession) 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 (*DecentrSession) MintToken

func (_Decentr *DecentrSession) MintToken(receiver common.Address, amount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x79c65068.

Solidity: function mintToken(address receiver, uint256 amount) returns(bool success)

func (*DecentrSession) Name

func (_Decentr *DecentrSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DecentrSession) Pause

func (_Decentr *DecentrSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*DecentrSession) Paused

func (_Decentr *DecentrSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*DecentrSession) SetMiter

func (_Decentr *DecentrSession) SetMiter(_minter common.Address) (*types.Transaction, error)

SetMiter is a paid mutator transaction binding the contract method 0xdf84df8d.

Solidity: function setMiter(address _minter) returns()

func (*DecentrSession) Symbol

func (_Decentr *DecentrSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DecentrSession) TotalSupply

func (_Decentr *DecentrSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DecentrSession) Transfer

func (_Decentr *DecentrSession) 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 (*DecentrSession) TransferFrom

func (_Decentr *DecentrSession) 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 (*DecentrSession) Unpause

func (_Decentr *DecentrSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type DecentrTokenMinterUpdated

type DecentrTokenMinterUpdated struct {
	Minter common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

DecentrTokenMinterUpdated represents a TokenMinterUpdated event raised by the Decentr contract.

type DecentrTokenMinterUpdatedIterator

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

DecentrTokenMinterUpdatedIterator is returned from FilterTokenMinterUpdated and is used to iterate over the raw logs and unpacked data for TokenMinterUpdated events raised by the Decentr contract.

func (*DecentrTokenMinterUpdatedIterator) Close

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

func (*DecentrTokenMinterUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewDecentrTransactor

func NewDecentrTransactor(address common.Address, transactor bind.ContractTransactor) (*DecentrTransactor, error)

NewDecentrTransactor creates a new write-only instance of Decentr, bound to a specific deployed contract.

func (*DecentrTransactor) Approve

func (_Decentr *DecentrTransactor) 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 (*DecentrTransactor) DecreaseAllowance

func (_Decentr *DecentrTransactor) 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 (*DecentrTransactor) IncreaseAllowance

func (_Decentr *DecentrTransactor) 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 (*DecentrTransactor) MintToken

func (_Decentr *DecentrTransactor) MintToken(opts *bind.TransactOpts, receiver common.Address, amount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x79c65068.

Solidity: function mintToken(address receiver, uint256 amount) returns(bool success)

func (*DecentrTransactor) Pause

func (_Decentr *DecentrTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*DecentrTransactor) SetMiter

func (_Decentr *DecentrTransactor) SetMiter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)

SetMiter is a paid mutator transaction binding the contract method 0xdf84df8d.

Solidity: function setMiter(address _minter) returns()

func (*DecentrTransactor) Transfer

func (_Decentr *DecentrTransactor) 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 (*DecentrTransactor) TransferFrom

func (_Decentr *DecentrTransactor) 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 (*DecentrTransactor) Unpause

func (_Decentr *DecentrTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type DecentrTransactorRaw

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

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

func (*DecentrTransactorRaw) Transact

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

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

func (*DecentrTransactorRaw) Transfer

func (_Decentr *DecentrTransactorRaw) 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 DecentrTransactorSession

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

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

func (*DecentrTransactorSession) Approve

func (_Decentr *DecentrTransactorSession) 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 (*DecentrTransactorSession) DecreaseAllowance

func (_Decentr *DecentrTransactorSession) 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 (*DecentrTransactorSession) IncreaseAllowance

func (_Decentr *DecentrTransactorSession) 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 (*DecentrTransactorSession) MintToken

func (_Decentr *DecentrTransactorSession) MintToken(receiver common.Address, amount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x79c65068.

Solidity: function mintToken(address receiver, uint256 amount) returns(bool success)

func (*DecentrTransactorSession) Pause

func (_Decentr *DecentrTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*DecentrTransactorSession) SetMiter

func (_Decentr *DecentrTransactorSession) SetMiter(_minter common.Address) (*types.Transaction, error)

SetMiter is a paid mutator transaction binding the contract method 0xdf84df8d.

Solidity: function setMiter(address _minter) returns()

func (*DecentrTransactorSession) Transfer

func (_Decentr *DecentrTransactorSession) 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 (*DecentrTransactorSession) TransferFrom

func (_Decentr *DecentrTransactorSession) 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 (*DecentrTransactorSession) Unpause

func (_Decentr *DecentrTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type DecentrTransfer

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

DecentrTransfer represents a Transfer event raised by the Decentr contract.

type DecentrTransferIterator

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

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

func (*DecentrTransferIterator) Close

func (it *DecentrTransferIterator) Close() error

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

func (*DecentrTransferIterator) Error

func (it *DecentrTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DecentrTransferIterator) Next

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

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

DecentrUnpaused represents a Unpaused event raised by the Decentr contract.

type DecentrUnpausedIterator

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

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

func (*DecentrUnpausedIterator) Close

func (it *DecentrUnpausedIterator) Close() error

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

func (*DecentrUnpausedIterator) Error

func (it *DecentrUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DecentrUnpausedIterator) Next

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

type Supply interface {
	GetCirculatingSupply() (int64, error)
}

Supply ...

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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