Documentation ¶
Index ¶
- Variables
- type BgtToken
- type BgtTokenApproval
- type BgtTokenApprovalIterator
- type BgtTokenCaller
- func (_BgtToken *BgtTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_BgtToken *BgtTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_BgtToken *BgtTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_BgtToken *BgtTokenCaller) InProhibitFrom(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_BgtToken *BgtTokenCaller) InProhibitTo(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_BgtToken *BgtTokenCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_BgtToken *BgtTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_BgtToken *BgtTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_BgtToken *BgtTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_BgtToken *BgtTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type BgtTokenCallerRaw
- type BgtTokenCallerSession
- func (_BgtToken *BgtTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BgtToken *BgtTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BgtToken *BgtTokenCallerSession) Decimals() (uint8, error)
- func (_BgtToken *BgtTokenCallerSession) InProhibitFrom(account common.Address) (bool, error)
- func (_BgtToken *BgtTokenCallerSession) InProhibitTo(account common.Address) (bool, error)
- func (_BgtToken *BgtTokenCallerSession) IsMinter(account common.Address) (bool, error)
- func (_BgtToken *BgtTokenCallerSession) Name() (string, error)
- func (_BgtToken *BgtTokenCallerSession) Owner() (common.Address, error)
- func (_BgtToken *BgtTokenCallerSession) Symbol() (string, error)
- func (_BgtToken *BgtTokenCallerSession) TotalSupply() (*big.Int, error)
- type BgtTokenFilterer
- func (_BgtToken *BgtTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BgtTokenApprovalIterator, error)
- func (_BgtToken *BgtTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BgtTokenOwnershipTransferredIterator, error)
- func (_BgtToken *BgtTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BgtTokenTransferIterator, error)
- func (_BgtToken *BgtTokenFilterer) ParseApproval(log types.Log) (*BgtTokenApproval, error)
- func (_BgtToken *BgtTokenFilterer) ParseOwnershipTransferred(log types.Log) (*BgtTokenOwnershipTransferred, error)
- func (_BgtToken *BgtTokenFilterer) ParseTransfer(log types.Log) (*BgtTokenTransfer, error)
- func (_BgtToken *BgtTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BgtTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_BgtToken *BgtTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BgtTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_BgtToken *BgtTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BgtTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type BgtTokenOwnershipTransferred
- type BgtTokenOwnershipTransferredIterator
- type BgtTokenRaw
- func (_BgtToken *BgtTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BgtToken *BgtTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BgtToken *BgtTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BgtTokenSession
- func (_BgtToken *BgtTokenSession) AddProhibitFrom(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) AddProhibitTo(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BgtToken *BgtTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BgtToken *BgtTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) Decimals() (uint8, error)
- func (_BgtToken *BgtTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) InProhibitFrom(account common.Address) (bool, error)
- func (_BgtToken *BgtTokenSession) InProhibitTo(account common.Address) (bool, error)
- func (_BgtToken *BgtTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) IsMinter(account common.Address) (bool, error)
- func (_BgtToken *BgtTokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) Name() (string, error)
- func (_BgtToken *BgtTokenSession) Owner() (common.Address, error)
- func (_BgtToken *BgtTokenSession) RemoveProhibitFrom(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) RemoveProhibitTo(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) SetMinter(account common.Address, isMinter_ bool) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) Symbol() (string, error)
- func (_BgtToken *BgtTokenSession) TotalSupply() (*big.Int, error)
- func (_BgtToken *BgtTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type BgtTokenTransactor
- func (_BgtToken *BgtTokenTransactor) AddProhibitFrom(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) AddProhibitTo(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) RemoveProhibitFrom(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) RemoveProhibitTo(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) SetMinter(opts *bind.TransactOpts, account common.Address, isMinter_ bool) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type BgtTokenTransactorRaw
- type BgtTokenTransactorSession
- func (_BgtToken *BgtTokenTransactorSession) AddProhibitFrom(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) AddProhibitTo(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) RemoveProhibitFrom(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) RemoveProhibitTo(account common.Address) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) SetMinter(account common.Address, isMinter_ bool) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BgtToken *BgtTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type BgtTokenTransfer
- type BgtTokenTransferIterator
Constants ¶
This section is empty.
Variables ¶
var BgtTokenABI = BgtTokenMetaData.ABI
BgtTokenABI is the input ABI used to generate the binding from. Deprecated: Use BgtTokenMetaData.ABI instead.
var BgtTokenMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addProhibitFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"addProhibitTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"inProhibitFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"inProhibitTo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isMinter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeProhibitFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"removeProhibitTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isMinter_\",\"type\":\"bool\"}],\"name\":\"setMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
BgtTokenMetaData contains all meta data concerning the BgtToken contract.
Functions ¶
This section is empty.
Types ¶
type BgtToken ¶
type BgtToken struct { BgtTokenCaller // Read-only binding to the contract BgtTokenTransactor // Write-only binding to the contract BgtTokenFilterer // Log filterer for contract events }
BgtToken is an auto generated Go binding around an Ethereum contract.
func NewBgtToken ¶
NewBgtToken creates a new instance of BgtToken, bound to a specific deployed contract.
type BgtTokenApproval ¶
type BgtTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BgtTokenApproval represents a Approval event raised by the BgtToken contract.
type BgtTokenApprovalIterator ¶
type BgtTokenApprovalIterator struct { Event *BgtTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BgtTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BgtToken contract.
func (*BgtTokenApprovalIterator) Close ¶
func (it *BgtTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BgtTokenApprovalIterator) Error ¶
func (it *BgtTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BgtTokenApprovalIterator) Next ¶
func (it *BgtTokenApprovalIterator) 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 BgtTokenCaller ¶
type BgtTokenCaller struct {
// contains filtered or unexported fields
}
BgtTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBgtTokenCaller ¶
func NewBgtTokenCaller(address common.Address, caller bind.ContractCaller) (*BgtTokenCaller, error)
NewBgtTokenCaller creates a new read-only instance of BgtToken, bound to a specific deployed contract.
func (*BgtTokenCaller) Allowance ¶
func (_BgtToken *BgtTokenCaller) 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 (*BgtTokenCaller) BalanceOf ¶
func (_BgtToken *BgtTokenCaller) 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 (*BgtTokenCaller) Decimals ¶
func (_BgtToken *BgtTokenCaller) 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 (*BgtTokenCaller) InProhibitFrom ¶
func (_BgtToken *BgtTokenCaller) InProhibitFrom(opts *bind.CallOpts, account common.Address) (bool, error)
InProhibitFrom is a free data retrieval call binding the contract method 0x64258251.
Solidity: function inProhibitFrom(address account) view returns(bool)
func (*BgtTokenCaller) InProhibitTo ¶
func (_BgtToken *BgtTokenCaller) InProhibitTo(opts *bind.CallOpts, account common.Address) (bool, error)
InProhibitTo is a free data retrieval call binding the contract method 0x2f119a36.
Solidity: function inProhibitTo(address account) view returns(bool)
func (*BgtTokenCaller) IsMinter ¶
func (_BgtToken *BgtTokenCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address account) view returns(bool)
func (*BgtTokenCaller) Name ¶
func (_BgtToken *BgtTokenCaller) 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 (*BgtTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BgtTokenCaller) Symbol ¶
func (_BgtToken *BgtTokenCaller) 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 (*BgtTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BgtTokenCallerRaw ¶
type BgtTokenCallerRaw struct {
Contract *BgtTokenCaller // Generic read-only contract binding to access the raw methods on
}
BgtTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BgtTokenCallerRaw) Call ¶
func (_BgtToken *BgtTokenCallerRaw) 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 BgtTokenCallerSession ¶
type BgtTokenCallerSession struct { Contract *BgtTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BgtTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BgtTokenCallerSession) Allowance ¶
func (_BgtToken *BgtTokenCallerSession) 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 (*BgtTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BgtTokenCallerSession) Decimals ¶
func (_BgtToken *BgtTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BgtTokenCallerSession) InProhibitFrom ¶
func (_BgtToken *BgtTokenCallerSession) InProhibitFrom(account common.Address) (bool, error)
InProhibitFrom is a free data retrieval call binding the contract method 0x64258251.
Solidity: function inProhibitFrom(address account) view returns(bool)
func (*BgtTokenCallerSession) InProhibitTo ¶
func (_BgtToken *BgtTokenCallerSession) InProhibitTo(account common.Address) (bool, error)
InProhibitTo is a free data retrieval call binding the contract method 0x2f119a36.
Solidity: function inProhibitTo(address account) view returns(bool)
func (*BgtTokenCallerSession) IsMinter ¶
func (_BgtToken *BgtTokenCallerSession) IsMinter(account common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address account) view returns(bool)
func (*BgtTokenCallerSession) Name ¶
func (_BgtToken *BgtTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BgtTokenCallerSession) Owner ¶
func (_BgtToken *BgtTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BgtTokenCallerSession) Symbol ¶
func (_BgtToken *BgtTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BgtTokenCallerSession) TotalSupply ¶
func (_BgtToken *BgtTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BgtTokenFilterer ¶
type BgtTokenFilterer struct {
// contains filtered or unexported fields
}
BgtTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBgtTokenFilterer ¶
func NewBgtTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BgtTokenFilterer, error)
NewBgtTokenFilterer creates a new log filterer instance of BgtToken, bound to a specific deployed contract.
func (*BgtTokenFilterer) FilterApproval ¶
func (_BgtToken *BgtTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BgtTokenApprovalIterator, 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 (*BgtTokenFilterer) FilterOwnershipTransferred ¶
func (_BgtToken *BgtTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BgtTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BgtTokenFilterer) FilterTransfer ¶
func (_BgtToken *BgtTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BgtTokenTransferIterator, 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 (*BgtTokenFilterer) ParseApproval ¶
func (_BgtToken *BgtTokenFilterer) ParseApproval(log types.Log) (*BgtTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BgtTokenFilterer) ParseOwnershipTransferred ¶
func (_BgtToken *BgtTokenFilterer) ParseOwnershipTransferred(log types.Log) (*BgtTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BgtTokenFilterer) ParseTransfer ¶
func (_BgtToken *BgtTokenFilterer) ParseTransfer(log types.Log) (*BgtTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BgtTokenFilterer) WatchApproval ¶
func (_BgtToken *BgtTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BgtTokenApproval, 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 (*BgtTokenFilterer) WatchOwnershipTransferred ¶
func (_BgtToken *BgtTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BgtTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BgtTokenFilterer) WatchTransfer ¶
func (_BgtToken *BgtTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BgtTokenTransfer, 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 BgtTokenOwnershipTransferred ¶
type BgtTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BgtTokenOwnershipTransferred represents a OwnershipTransferred event raised by the BgtToken contract.
type BgtTokenOwnershipTransferredIterator ¶
type BgtTokenOwnershipTransferredIterator struct { Event *BgtTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BgtTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BgtToken contract.
func (*BgtTokenOwnershipTransferredIterator) Close ¶
func (it *BgtTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BgtTokenOwnershipTransferredIterator) Error ¶
func (it *BgtTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BgtTokenOwnershipTransferredIterator) Next ¶
func (it *BgtTokenOwnershipTransferredIterator) 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 BgtTokenRaw ¶
type BgtTokenRaw struct {
Contract *BgtToken // Generic contract binding to access the raw methods on
}
BgtTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BgtTokenRaw) Call ¶
func (_BgtToken *BgtTokenRaw) 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 (*BgtTokenRaw) Transact ¶
func (_BgtToken *BgtTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BgtTokenRaw) Transfer ¶
func (_BgtToken *BgtTokenRaw) 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 BgtTokenSession ¶
type BgtTokenSession struct { Contract *BgtToken // 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 }
BgtTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BgtTokenSession) AddProhibitFrom ¶
func (_BgtToken *BgtTokenSession) AddProhibitFrom(account common.Address) (*types.Transaction, error)
AddProhibitFrom is a paid mutator transaction binding the contract method 0x0d15202b.
Solidity: function addProhibitFrom(address account) returns()
func (*BgtTokenSession) AddProhibitTo ¶
func (_BgtToken *BgtTokenSession) AddProhibitTo(account common.Address) (*types.Transaction, error)
AddProhibitTo is a paid mutator transaction binding the contract method 0x2cd63548.
Solidity: function addProhibitTo(address account) returns()
func (*BgtTokenSession) Allowance ¶
func (_BgtToken *BgtTokenSession) 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 (*BgtTokenSession) Approve ¶
func (_BgtToken *BgtTokenSession) 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 (*BgtTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BgtTokenSession) Burn ¶
func (_BgtToken *BgtTokenSession) 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 (*BgtTokenSession) Decimals ¶
func (_BgtToken *BgtTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BgtTokenSession) DecreaseAllowance ¶
func (_BgtToken *BgtTokenSession) 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 (*BgtTokenSession) InProhibitFrom ¶
func (_BgtToken *BgtTokenSession) InProhibitFrom(account common.Address) (bool, error)
InProhibitFrom is a free data retrieval call binding the contract method 0x64258251.
Solidity: function inProhibitFrom(address account) view returns(bool)
func (*BgtTokenSession) InProhibitTo ¶
func (_BgtToken *BgtTokenSession) InProhibitTo(account common.Address) (bool, error)
InProhibitTo is a free data retrieval call binding the contract method 0x2f119a36.
Solidity: function inProhibitTo(address account) view returns(bool)
func (*BgtTokenSession) IncreaseAllowance ¶
func (_BgtToken *BgtTokenSession) 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 (*BgtTokenSession) IsMinter ¶
func (_BgtToken *BgtTokenSession) IsMinter(account common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address account) view returns(bool)
func (*BgtTokenSession) Mint ¶
func (_BgtToken *BgtTokenSession) 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 (*BgtTokenSession) Name ¶
func (_BgtToken *BgtTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BgtTokenSession) Owner ¶
func (_BgtToken *BgtTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BgtTokenSession) RemoveProhibitFrom ¶
func (_BgtToken *BgtTokenSession) RemoveProhibitFrom(account common.Address) (*types.Transaction, error)
RemoveProhibitFrom is a paid mutator transaction binding the contract method 0x9d69c13c.
Solidity: function removeProhibitFrom(address account) returns()
func (*BgtTokenSession) RemoveProhibitTo ¶
func (_BgtToken *BgtTokenSession) RemoveProhibitTo(account common.Address) (*types.Transaction, error)
RemoveProhibitTo is a paid mutator transaction binding the contract method 0xc249865c.
Solidity: function removeProhibitTo(address account) returns()
func (*BgtTokenSession) RenounceOwnership ¶
func (_BgtToken *BgtTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BgtTokenSession) SetMinter ¶
func (_BgtToken *BgtTokenSession) SetMinter(account common.Address, isMinter_ bool) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xcf456ae7.
Solidity: function setMinter(address account, bool isMinter_) returns()
func (*BgtTokenSession) Symbol ¶
func (_BgtToken *BgtTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BgtTokenSession) TotalSupply ¶
func (_BgtToken *BgtTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BgtTokenSession) Transfer ¶
func (_BgtToken *BgtTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*BgtTokenSession) TransferFrom ¶
func (_BgtToken *BgtTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*BgtTokenSession) TransferOwnership ¶
func (_BgtToken *BgtTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type BgtTokenTransactor ¶
type BgtTokenTransactor struct {
// contains filtered or unexported fields
}
BgtTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBgtTokenTransactor ¶
func NewBgtTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BgtTokenTransactor, error)
NewBgtTokenTransactor creates a new write-only instance of BgtToken, bound to a specific deployed contract.
func (*BgtTokenTransactor) AddProhibitFrom ¶
func (_BgtToken *BgtTokenTransactor) AddProhibitFrom(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
AddProhibitFrom is a paid mutator transaction binding the contract method 0x0d15202b.
Solidity: function addProhibitFrom(address account) returns()
func (*BgtTokenTransactor) AddProhibitTo ¶
func (_BgtToken *BgtTokenTransactor) AddProhibitTo(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
AddProhibitTo is a paid mutator transaction binding the contract method 0x2cd63548.
Solidity: function addProhibitTo(address account) returns()
func (*BgtTokenTransactor) Approve ¶
func (_BgtToken *BgtTokenTransactor) 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 (*BgtTokenTransactor) Burn ¶
func (_BgtToken *BgtTokenTransactor) 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 (*BgtTokenTransactor) DecreaseAllowance ¶
func (_BgtToken *BgtTokenTransactor) 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 (*BgtTokenTransactor) IncreaseAllowance ¶
func (_BgtToken *BgtTokenTransactor) 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 (*BgtTokenTransactor) Mint ¶
func (_BgtToken *BgtTokenTransactor) 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 (*BgtTokenTransactor) RemoveProhibitFrom ¶
func (_BgtToken *BgtTokenTransactor) RemoveProhibitFrom(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
RemoveProhibitFrom is a paid mutator transaction binding the contract method 0x9d69c13c.
Solidity: function removeProhibitFrom(address account) returns()
func (*BgtTokenTransactor) RemoveProhibitTo ¶
func (_BgtToken *BgtTokenTransactor) RemoveProhibitTo(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
RemoveProhibitTo is a paid mutator transaction binding the contract method 0xc249865c.
Solidity: function removeProhibitTo(address account) returns()
func (*BgtTokenTransactor) RenounceOwnership ¶
func (_BgtToken *BgtTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BgtTokenTransactor) SetMinter ¶
func (_BgtToken *BgtTokenTransactor) SetMinter(opts *bind.TransactOpts, account common.Address, isMinter_ bool) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xcf456ae7.
Solidity: function setMinter(address account, bool isMinter_) returns()
func (*BgtTokenTransactor) Transfer ¶
func (_BgtToken *BgtTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*BgtTokenTransactor) TransferFrom ¶
func (_BgtToken *BgtTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*BgtTokenTransactor) TransferOwnership ¶
func (_BgtToken *BgtTokenTransactor) 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()
type BgtTokenTransactorRaw ¶
type BgtTokenTransactorRaw struct {
Contract *BgtTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BgtTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BgtTokenTransactorRaw) Transact ¶
func (_BgtToken *BgtTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BgtTokenTransactorRaw) Transfer ¶
func (_BgtToken *BgtTokenTransactorRaw) 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 BgtTokenTransactorSession ¶
type BgtTokenTransactorSession struct { Contract *BgtTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BgtTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BgtTokenTransactorSession) AddProhibitFrom ¶
func (_BgtToken *BgtTokenTransactorSession) AddProhibitFrom(account common.Address) (*types.Transaction, error)
AddProhibitFrom is a paid mutator transaction binding the contract method 0x0d15202b.
Solidity: function addProhibitFrom(address account) returns()
func (*BgtTokenTransactorSession) AddProhibitTo ¶
func (_BgtToken *BgtTokenTransactorSession) AddProhibitTo(account common.Address) (*types.Transaction, error)
AddProhibitTo is a paid mutator transaction binding the contract method 0x2cd63548.
Solidity: function addProhibitTo(address account) returns()
func (*BgtTokenTransactorSession) Approve ¶
func (_BgtToken *BgtTokenTransactorSession) 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 (*BgtTokenTransactorSession) Burn ¶
func (_BgtToken *BgtTokenTransactorSession) 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 (*BgtTokenTransactorSession) DecreaseAllowance ¶
func (_BgtToken *BgtTokenTransactorSession) 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 (*BgtTokenTransactorSession) IncreaseAllowance ¶
func (_BgtToken *BgtTokenTransactorSession) 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 (*BgtTokenTransactorSession) Mint ¶
func (_BgtToken *BgtTokenTransactorSession) 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 (*BgtTokenTransactorSession) RemoveProhibitFrom ¶
func (_BgtToken *BgtTokenTransactorSession) RemoveProhibitFrom(account common.Address) (*types.Transaction, error)
RemoveProhibitFrom is a paid mutator transaction binding the contract method 0x9d69c13c.
Solidity: function removeProhibitFrom(address account) returns()
func (*BgtTokenTransactorSession) RemoveProhibitTo ¶
func (_BgtToken *BgtTokenTransactorSession) RemoveProhibitTo(account common.Address) (*types.Transaction, error)
RemoveProhibitTo is a paid mutator transaction binding the contract method 0xc249865c.
Solidity: function removeProhibitTo(address account) returns()
func (*BgtTokenTransactorSession) RenounceOwnership ¶
func (_BgtToken *BgtTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BgtTokenTransactorSession) SetMinter ¶
func (_BgtToken *BgtTokenTransactorSession) SetMinter(account common.Address, isMinter_ bool) (*types.Transaction, error)
SetMinter is a paid mutator transaction binding the contract method 0xcf456ae7.
Solidity: function setMinter(address account, bool isMinter_) returns()
func (*BgtTokenTransactorSession) Transfer ¶
func (_BgtToken *BgtTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*BgtTokenTransactorSession) TransferFrom ¶
func (_BgtToken *BgtTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*BgtTokenTransactorSession) TransferOwnership ¶
func (_BgtToken *BgtTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type BgtTokenTransfer ¶
type BgtTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BgtTokenTransfer represents a Transfer event raised by the BgtToken contract.
type BgtTokenTransferIterator ¶
type BgtTokenTransferIterator struct { Event *BgtTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BgtTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BgtToken contract.
func (*BgtTokenTransferIterator) Close ¶
func (it *BgtTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BgtTokenTransferIterator) Error ¶
func (it *BgtTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BgtTokenTransferIterator) Next ¶
func (it *BgtTokenTransferIterator) 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.