Versions in this module Expand all Collapse all v0 v0.0.4 Feb 27, 2024 v0.0.3 Feb 26, 2024 Changes in this version + var BgtTokenABI = BgtTokenMetaData.ABI + var BgtTokenMetaData = &bind.MetaData + type BgtToken struct + func NewBgtToken(address common.Address, backend bind.ContractBackend) (*BgtToken, error) + type BgtTokenApproval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type BgtTokenApprovalIterator struct + Event *BgtTokenApproval + func (it *BgtTokenApprovalIterator) Close() error + func (it *BgtTokenApprovalIterator) Error() error + func (it *BgtTokenApprovalIterator) Next() bool + type BgtTokenCaller struct + func NewBgtTokenCaller(address common.Address, caller bind.ContractCaller) (*BgtTokenCaller, error) + 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 struct + Contract *BgtTokenCaller + func (_BgtToken *BgtTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type BgtTokenCallerSession struct + CallOpts bind.CallOpts + Contract *BgtTokenCaller + 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 struct + func NewBgtTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BgtTokenFilterer, error) + 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 struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type BgtTokenOwnershipTransferredIterator struct + Event *BgtTokenOwnershipTransferred + func (it *BgtTokenOwnershipTransferredIterator) Close() error + func (it *BgtTokenOwnershipTransferredIterator) Error() error + func (it *BgtTokenOwnershipTransferredIterator) Next() bool + type BgtTokenRaw struct + Contract *BgtToken + 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 struct + CallOpts bind.CallOpts + Contract *BgtToken + TransactOpts bind.TransactOpts + 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 struct + func NewBgtTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BgtTokenTransactor, error) + 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 struct + Contract *BgtTokenTransactor + func (_BgtToken *BgtTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_BgtToken *BgtTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type BgtTokenTransactorSession struct + Contract *BgtTokenTransactor + TransactOpts bind.TransactOpts + 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 struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type BgtTokenTransferIterator struct + Event *BgtTokenTransfer + func (it *BgtTokenTransferIterator) Close() error + func (it *BgtTokenTransferIterator) Error() error + func (it *BgtTokenTransferIterator) Next() bool