cakeToken

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const AddressABI = "[]"

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

View Source
const BEP20ABI = "" /* 4946-byte string literal not displayed */

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

View Source
const CakeTokenABI = "" /* 8448-byte string literal not displayed */

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

View Source
const ContextABI = "[]"

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

View Source
const IBEP20ABI = "" /* 3089-byte string literal not displayed */

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

View Source
const OwnableABI = "" /* 753-byte string literal not displayed */

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

View Source
const SafeMathABI = "[]"

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

Variables

View Source
var AddressBin = "" /* 244-byte string literal not displayed */

AddressBin is the compiled bytecode used for deploying new contracts.

View Source
var BEP20Bin = "" /* 8756-byte string literal not displayed */

BEP20Bin is the compiled bytecode used for deploying new contracts.

View Source
var BEP20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"a457c2d7": "decreaseAllowance(address,uint256)",
	"893d20e8": "getOwner()",
	"39509351": "increaseAllowance(address,uint256)",
	"a0712d68": "mint(uint256)",
	"06fdde03": "name()",
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"f2fde38b": "transferOwnership(address)",
}

BEP20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var CakeTokenBin = "" /* 14920-byte string literal not displayed */

CakeTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var CakeTokenFuncSigs = map[string]string{
	"e7a324dc": "DELEGATION_TYPEHASH()",
	"20606b70": "DOMAIN_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"f1127ed8": "checkpoints(address,uint32)",
	"313ce567": "decimals()",
	"a457c2d7": "decreaseAllowance(address,uint256)",
	"5c19a95c": "delegate(address)",
	"c3cda520": "delegateBySig(address,uint256,uint256,uint8,bytes32,bytes32)",
	"587cde1e": "delegates(address)",
	"b4b5ea57": "getCurrentVotes(address)",
	"893d20e8": "getOwner()",
	"782d6fe1": "getPriorVotes(address,uint256)",
	"39509351": "increaseAllowance(address,uint256)",
	"40c10f19": "mint(address,uint256)",
	"a0712d68": "mint(uint256)",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"6fcfff45": "numCheckpoints(address)",
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"f2fde38b": "transferOwnership(address)",
}

CakeTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IBEP20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"893d20e8": "getOwner()",
	"06fdde03": "name()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IBEP20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableFuncSigs = map[string]string{
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SafeMathBin = "" /* 244-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Address

type Address struct {
	AddressCaller     // Read-only binding to the contract
	AddressTransactor // Write-only binding to the contract
	AddressFilterer   // Log filterer for contract events
}

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

func DeployAddress

func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)

DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.

func NewAddress

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

NewAddress creates a new instance of Address, bound to a specific deployed contract.

type AddressCaller

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

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

func NewAddressCaller

func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)

NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.

type AddressCallerRaw

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

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

func (*AddressCallerRaw) Call

func (_Address *AddressCallerRaw) 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 AddressCallerSession

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

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

type AddressFilterer

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

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

func NewAddressFilterer

func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)

NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.

type AddressRaw

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

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

func (*AddressRaw) Call

func (_Address *AddressRaw) 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 (*AddressRaw) Transact

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

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

func (*AddressRaw) Transfer

func (_Address *AddressRaw) 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 AddressSession

type AddressSession struct {
	Contract     *Address          // 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
}

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

type AddressTransactor

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

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

func NewAddressTransactor

func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)

NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.

type AddressTransactorRaw

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

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

func (*AddressTransactorRaw) Transact

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

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

func (*AddressTransactorRaw) Transfer

func (_Address *AddressTransactorRaw) 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 AddressTransactorSession

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

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

type BEP20

type BEP20 struct {
	BEP20Caller     // Read-only binding to the contract
	BEP20Transactor // Write-only binding to the contract
	BEP20Filterer   // Log filterer for contract events
}

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

func DeployBEP20

func DeployBEP20(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *BEP20, error)

DeployBEP20 deploys a new Ethereum contract, binding an instance of BEP20 to it.

func NewBEP20

func NewBEP20(address common.Address, backend bind.ContractBackend) (*BEP20, error)

NewBEP20 creates a new instance of BEP20, bound to a specific deployed contract.

type BEP20Approval

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

BEP20Approval represents a Approval event raised by the BEP20 contract.

type BEP20ApprovalIterator

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

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

func (*BEP20ApprovalIterator) Close

func (it *BEP20ApprovalIterator) Close() error

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

func (*BEP20ApprovalIterator) Error

func (it *BEP20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BEP20ApprovalIterator) Next

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

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

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

func NewBEP20Caller

func NewBEP20Caller(address common.Address, caller bind.ContractCaller) (*BEP20Caller, error)

NewBEP20Caller creates a new read-only instance of BEP20, bound to a specific deployed contract.

func (*BEP20Caller) Allowance

func (_BEP20 *BEP20Caller) 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 (*BEP20Caller) BalanceOf

func (_BEP20 *BEP20Caller) 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 (*BEP20Caller) Decimals

func (_BEP20 *BEP20Caller) 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 (*BEP20Caller) GetOwner

func (_BEP20 *BEP20Caller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*BEP20Caller) Name

func (_BEP20 *BEP20Caller) 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 (*BEP20Caller) Owner

func (_BEP20 *BEP20Caller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BEP20Caller) Symbol

func (_BEP20 *BEP20Caller) 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 (*BEP20Caller) TotalSupply

func (_BEP20 *BEP20Caller) 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 BEP20CallerRaw

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

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

func (*BEP20CallerRaw) Call

func (_BEP20 *BEP20CallerRaw) 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 BEP20CallerSession

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

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

func (*BEP20CallerSession) Allowance

func (_BEP20 *BEP20CallerSession) 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 (*BEP20CallerSession) BalanceOf

func (_BEP20 *BEP20CallerSession) 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 (*BEP20CallerSession) Decimals

func (_BEP20 *BEP20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BEP20CallerSession) GetOwner

func (_BEP20 *BEP20CallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*BEP20CallerSession) Name

func (_BEP20 *BEP20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BEP20CallerSession) Owner

func (_BEP20 *BEP20CallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BEP20CallerSession) Symbol

func (_BEP20 *BEP20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BEP20CallerSession) TotalSupply

func (_BEP20 *BEP20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BEP20Filterer

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

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

func NewBEP20Filterer

func NewBEP20Filterer(address common.Address, filterer bind.ContractFilterer) (*BEP20Filterer, error)

NewBEP20Filterer creates a new log filterer instance of BEP20, bound to a specific deployed contract.

func (*BEP20Filterer) FilterApproval

func (_BEP20 *BEP20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BEP20ApprovalIterator, 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 (*BEP20Filterer) FilterOwnershipTransferred

func (_BEP20 *BEP20Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BEP20OwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BEP20Filterer) FilterTransfer

func (_BEP20 *BEP20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BEP20TransferIterator, 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 (*BEP20Filterer) ParseApproval

func (_BEP20 *BEP20Filterer) ParseApproval(log types.Log) (*BEP20Approval, error)

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

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

func (*BEP20Filterer) ParseOwnershipTransferred

func (_BEP20 *BEP20Filterer) ParseOwnershipTransferred(log types.Log) (*BEP20OwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BEP20Filterer) ParseTransfer

func (_BEP20 *BEP20Filterer) ParseTransfer(log types.Log) (*BEP20Transfer, error)

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

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

func (*BEP20Filterer) WatchApproval

func (_BEP20 *BEP20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BEP20Approval, 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 (*BEP20Filterer) WatchOwnershipTransferred

func (_BEP20 *BEP20Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BEP20OwnershipTransferred, 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 (*BEP20Filterer) WatchTransfer

func (_BEP20 *BEP20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BEP20Transfer, 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 BEP20OwnershipTransferred

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

BEP20OwnershipTransferred represents a OwnershipTransferred event raised by the BEP20 contract.

type BEP20OwnershipTransferredIterator

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

BEP20OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BEP20 contract.

func (*BEP20OwnershipTransferredIterator) Close

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

func (*BEP20OwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BEP20OwnershipTransferredIterator) 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 BEP20Raw

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

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

func (*BEP20Raw) Call

func (_BEP20 *BEP20Raw) 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 (*BEP20Raw) Transact

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

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

func (*BEP20Raw) Transfer

func (_BEP20 *BEP20Raw) 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 BEP20Session

type BEP20Session struct {
	Contract     *BEP20            // 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
}

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

func (*BEP20Session) Allowance

func (_BEP20 *BEP20Session) 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 (*BEP20Session) Approve

func (_BEP20 *BEP20Session) 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 (*BEP20Session) BalanceOf

func (_BEP20 *BEP20Session) 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 (*BEP20Session) Decimals

func (_BEP20 *BEP20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BEP20Session) DecreaseAllowance

func (_BEP20 *BEP20Session) 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 (*BEP20Session) GetOwner

func (_BEP20 *BEP20Session) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*BEP20Session) IncreaseAllowance

func (_BEP20 *BEP20Session) 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 (*BEP20Session) Mint

func (_BEP20 *BEP20Session) Mint(amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount) returns(bool)

func (*BEP20Session) Name

func (_BEP20 *BEP20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BEP20Session) Owner

func (_BEP20 *BEP20Session) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*BEP20Session) RenounceOwnership

func (_BEP20 *BEP20Session) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BEP20Session) Symbol

func (_BEP20 *BEP20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BEP20Session) TotalSupply

func (_BEP20 *BEP20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BEP20Session) Transfer

func (_BEP20 *BEP20Session) 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 (*BEP20Session) TransferFrom

func (_BEP20 *BEP20Session) 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 (*BEP20Session) TransferOwnership

func (_BEP20 *BEP20Session) 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 BEP20Transactor

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

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

func NewBEP20Transactor

func NewBEP20Transactor(address common.Address, transactor bind.ContractTransactor) (*BEP20Transactor, error)

NewBEP20Transactor creates a new write-only instance of BEP20, bound to a specific deployed contract.

func (*BEP20Transactor) Approve

func (_BEP20 *BEP20Transactor) 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 (*BEP20Transactor) DecreaseAllowance

func (_BEP20 *BEP20Transactor) 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 (*BEP20Transactor) IncreaseAllowance

func (_BEP20 *BEP20Transactor) 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 (*BEP20Transactor) Mint

func (_BEP20 *BEP20Transactor) Mint(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount) returns(bool)

func (*BEP20Transactor) RenounceOwnership

func (_BEP20 *BEP20Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BEP20Transactor) Transfer

func (_BEP20 *BEP20Transactor) 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 (*BEP20Transactor) TransferFrom

func (_BEP20 *BEP20Transactor) 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 (*BEP20Transactor) TransferOwnership

func (_BEP20 *BEP20Transactor) 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 BEP20TransactorRaw

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

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

func (*BEP20TransactorRaw) Transact

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

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

func (*BEP20TransactorRaw) Transfer

func (_BEP20 *BEP20TransactorRaw) 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 BEP20TransactorSession

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

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

func (*BEP20TransactorSession) Approve

func (_BEP20 *BEP20TransactorSession) 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 (*BEP20TransactorSession) DecreaseAllowance

func (_BEP20 *BEP20TransactorSession) 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 (*BEP20TransactorSession) IncreaseAllowance

func (_BEP20 *BEP20TransactorSession) 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 (*BEP20TransactorSession) Mint

func (_BEP20 *BEP20TransactorSession) Mint(amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount) returns(bool)

func (*BEP20TransactorSession) RenounceOwnership

func (_BEP20 *BEP20TransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BEP20TransactorSession) Transfer

func (_BEP20 *BEP20TransactorSession) 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 (*BEP20TransactorSession) TransferFrom

func (_BEP20 *BEP20TransactorSession) 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 (*BEP20TransactorSession) TransferOwnership

func (_BEP20 *BEP20TransactorSession) 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 BEP20Transfer

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

BEP20Transfer represents a Transfer event raised by the BEP20 contract.

type BEP20TransferIterator

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

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

func (*BEP20TransferIterator) Close

func (it *BEP20TransferIterator) Close() error

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

func (*BEP20TransferIterator) Error

func (it *BEP20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BEP20TransferIterator) Next

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

type CakeToken struct {
	CakeTokenCaller     // Read-only binding to the contract
	CakeTokenTransactor // Write-only binding to the contract
	CakeTokenFilterer   // Log filterer for contract events
}

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

func DeployCakeToken

func DeployCakeToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CakeToken, error)

DeployCakeToken deploys a new Ethereum contract, binding an instance of CakeToken to it.

func NewCakeToken

func NewCakeToken(address common.Address, backend bind.ContractBackend) (*CakeToken, error)

NewCakeToken creates a new instance of CakeToken, bound to a specific deployed contract.

type CakeTokenApproval

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

CakeTokenApproval represents a Approval event raised by the CakeToken contract.

type CakeTokenApprovalIterator

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

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

func (*CakeTokenApprovalIterator) Close

func (it *CakeTokenApprovalIterator) Close() error

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

func (*CakeTokenApprovalIterator) Error

func (it *CakeTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakeTokenApprovalIterator) Next

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

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

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

func NewCakeTokenCaller

func NewCakeTokenCaller(address common.Address, caller bind.ContractCaller) (*CakeTokenCaller, error)

NewCakeTokenCaller creates a new read-only instance of CakeToken, bound to a specific deployed contract.

func (*CakeTokenCaller) Allowance

func (_CakeToken *CakeTokenCaller) 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 (*CakeTokenCaller) BalanceOf

func (_CakeToken *CakeTokenCaller) 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 (*CakeTokenCaller) Checkpoints

func (_CakeToken *CakeTokenCaller) Checkpoints(opts *bind.CallOpts, arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint256 votes)

func (*CakeTokenCaller) DELEGATIONTYPEHASH

func (_CakeToken *CakeTokenCaller) DELEGATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*CakeTokenCaller) DOMAINTYPEHASH

func (_CakeToken *CakeTokenCaller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*CakeTokenCaller) Decimals

func (_CakeToken *CakeTokenCaller) 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 (*CakeTokenCaller) Delegates

func (_CakeToken *CakeTokenCaller) Delegates(opts *bind.CallOpts, delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*CakeTokenCaller) GetCurrentVotes

func (_CakeToken *CakeTokenCaller) GetCurrentVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint256)

func (*CakeTokenCaller) GetOwner

func (_CakeToken *CakeTokenCaller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*CakeTokenCaller) GetPriorVotes

func (_CakeToken *CakeTokenCaller) GetPriorVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint256)

func (*CakeTokenCaller) Name

func (_CakeToken *CakeTokenCaller) 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 (*CakeTokenCaller) Nonces

func (_CakeToken *CakeTokenCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*CakeTokenCaller) NumCheckpoints

func (_CakeToken *CakeTokenCaller) NumCheckpoints(opts *bind.CallOpts, arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*CakeTokenCaller) Owner

func (_CakeToken *CakeTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakeTokenCaller) Symbol

func (_CakeToken *CakeTokenCaller) 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 (*CakeTokenCaller) TotalSupply

func (_CakeToken *CakeTokenCaller) 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 CakeTokenCallerRaw

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

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

func (*CakeTokenCallerRaw) Call

func (_CakeToken *CakeTokenCallerRaw) 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 CakeTokenCallerSession

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

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

func (*CakeTokenCallerSession) Allowance

func (_CakeToken *CakeTokenCallerSession) 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 (*CakeTokenCallerSession) BalanceOf

func (_CakeToken *CakeTokenCallerSession) 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 (*CakeTokenCallerSession) Checkpoints

func (_CakeToken *CakeTokenCallerSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint256 votes)

func (*CakeTokenCallerSession) DELEGATIONTYPEHASH

func (_CakeToken *CakeTokenCallerSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*CakeTokenCallerSession) DOMAINTYPEHASH

func (_CakeToken *CakeTokenCallerSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*CakeTokenCallerSession) Decimals

func (_CakeToken *CakeTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*CakeTokenCallerSession) Delegates

func (_CakeToken *CakeTokenCallerSession) Delegates(delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*CakeTokenCallerSession) GetCurrentVotes

func (_CakeToken *CakeTokenCallerSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint256)

func (*CakeTokenCallerSession) GetOwner

func (_CakeToken *CakeTokenCallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*CakeTokenCallerSession) GetPriorVotes

func (_CakeToken *CakeTokenCallerSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint256)

func (*CakeTokenCallerSession) Name

func (_CakeToken *CakeTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CakeTokenCallerSession) Nonces

func (_CakeToken *CakeTokenCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*CakeTokenCallerSession) NumCheckpoints

func (_CakeToken *CakeTokenCallerSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*CakeTokenCallerSession) Owner

func (_CakeToken *CakeTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakeTokenCallerSession) Symbol

func (_CakeToken *CakeTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CakeTokenCallerSession) TotalSupply

func (_CakeToken *CakeTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type CakeTokenDelegateChanged

type CakeTokenDelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

CakeTokenDelegateChanged represents a DelegateChanged event raised by the CakeToken contract.

type CakeTokenDelegateChangedIterator

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

CakeTokenDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the CakeToken contract.

func (*CakeTokenDelegateChangedIterator) Close

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

func (*CakeTokenDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakeTokenDelegateChangedIterator) 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 CakeTokenDelegateVotesChanged

type CakeTokenDelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

CakeTokenDelegateVotesChanged represents a DelegateVotesChanged event raised by the CakeToken contract.

type CakeTokenDelegateVotesChangedIterator

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

CakeTokenDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the CakeToken contract.

func (*CakeTokenDelegateVotesChangedIterator) Close

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

func (*CakeTokenDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakeTokenDelegateVotesChangedIterator) 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 CakeTokenFilterer

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

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

func NewCakeTokenFilterer

func NewCakeTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*CakeTokenFilterer, error)

NewCakeTokenFilterer creates a new log filterer instance of CakeToken, bound to a specific deployed contract.

func (*CakeTokenFilterer) FilterApproval

func (_CakeToken *CakeTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*CakeTokenApprovalIterator, 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 (*CakeTokenFilterer) FilterDelegateChanged

func (_CakeToken *CakeTokenFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*CakeTokenDelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*CakeTokenFilterer) FilterDelegateVotesChanged

func (_CakeToken *CakeTokenFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*CakeTokenDelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*CakeTokenFilterer) FilterOwnershipTransferred

func (_CakeToken *CakeTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CakeTokenOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CakeTokenFilterer) FilterTransfer

func (_CakeToken *CakeTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*CakeTokenTransferIterator, 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 (*CakeTokenFilterer) ParseApproval

func (_CakeToken *CakeTokenFilterer) ParseApproval(log types.Log) (*CakeTokenApproval, error)

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

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

func (*CakeTokenFilterer) ParseDelegateChanged

func (_CakeToken *CakeTokenFilterer) ParseDelegateChanged(log types.Log) (*CakeTokenDelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*CakeTokenFilterer) ParseDelegateVotesChanged

func (_CakeToken *CakeTokenFilterer) ParseDelegateVotesChanged(log types.Log) (*CakeTokenDelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*CakeTokenFilterer) ParseOwnershipTransferred

func (_CakeToken *CakeTokenFilterer) ParseOwnershipTransferred(log types.Log) (*CakeTokenOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CakeTokenFilterer) ParseTransfer

func (_CakeToken *CakeTokenFilterer) ParseTransfer(log types.Log) (*CakeTokenTransfer, error)

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

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

func (*CakeTokenFilterer) WatchApproval

func (_CakeToken *CakeTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CakeTokenApproval, 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 (*CakeTokenFilterer) WatchDelegateChanged

func (_CakeToken *CakeTokenFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *CakeTokenDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0x3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f.

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*CakeTokenFilterer) WatchDelegateVotesChanged

func (_CakeToken *CakeTokenFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *CakeTokenDelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*CakeTokenFilterer) WatchOwnershipTransferred

func (_CakeToken *CakeTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CakeTokenOwnershipTransferred, 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 (*CakeTokenFilterer) WatchTransfer

func (_CakeToken *CakeTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CakeTokenTransfer, 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 CakeTokenOwnershipTransferred

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

CakeTokenOwnershipTransferred represents a OwnershipTransferred event raised by the CakeToken contract.

type CakeTokenOwnershipTransferredIterator

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

CakeTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the CakeToken contract.

func (*CakeTokenOwnershipTransferredIterator) Close

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

func (*CakeTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakeTokenOwnershipTransferredIterator) 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 CakeTokenRaw

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

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

func (*CakeTokenRaw) Call

func (_CakeToken *CakeTokenRaw) 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 (*CakeTokenRaw) Transact

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

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

func (*CakeTokenRaw) Transfer

func (_CakeToken *CakeTokenRaw) 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 CakeTokenSession

type CakeTokenSession struct {
	Contract     *CakeToken        // 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
}

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

func (*CakeTokenSession) Allowance

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) Approve

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) BalanceOf

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) Checkpoints

func (_CakeToken *CakeTokenSession) Checkpoints(arg0 common.Address, arg1 uint32) (struct {
	FromBlock uint32
	Votes     *big.Int
}, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address , uint32 ) view returns(uint32 fromBlock, uint256 votes)

func (*CakeTokenSession) DELEGATIONTYPEHASH

func (_CakeToken *CakeTokenSession) DELEGATIONTYPEHASH() ([32]byte, error)

DELEGATIONTYPEHASH is a free data retrieval call binding the contract method 0xe7a324dc.

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*CakeTokenSession) DOMAINTYPEHASH

func (_CakeToken *CakeTokenSession) DOMAINTYPEHASH() ([32]byte, error)

DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*CakeTokenSession) Decimals

func (_CakeToken *CakeTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*CakeTokenSession) DecreaseAllowance

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) Delegate

func (_CakeToken *CakeTokenSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*CakeTokenSession) DelegateBySig

func (_CakeToken *CakeTokenSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*CakeTokenSession) Delegates

func (_CakeToken *CakeTokenSession) Delegates(delegator common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address delegator) view returns(address)

func (*CakeTokenSession) GetCurrentVotes

func (_CakeToken *CakeTokenSession) GetCurrentVotes(account common.Address) (*big.Int, error)

GetCurrentVotes is a free data retrieval call binding the contract method 0xb4b5ea57.

Solidity: function getCurrentVotes(address account) view returns(uint256)

func (*CakeTokenSession) GetOwner

func (_CakeToken *CakeTokenSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*CakeTokenSession) GetPriorVotes

func (_CakeToken *CakeTokenSession) GetPriorVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPriorVotes is a free data retrieval call binding the contract method 0x782d6fe1.

Solidity: function getPriorVotes(address account, uint256 blockNumber) view returns(uint256)

func (*CakeTokenSession) IncreaseAllowance

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) Mint

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) Mint0

func (_CakeToken *CakeTokenSession) Mint0(amount *big.Int) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 amount) returns(bool)

func (*CakeTokenSession) Name

func (_CakeToken *CakeTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*CakeTokenSession) Nonces

func (_CakeToken *CakeTokenSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*CakeTokenSession) NumCheckpoints

func (_CakeToken *CakeTokenSession) NumCheckpoints(arg0 common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address ) view returns(uint32)

func (*CakeTokenSession) Owner

func (_CakeToken *CakeTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CakeTokenSession) RenounceOwnership

func (_CakeToken *CakeTokenSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CakeTokenSession) Symbol

func (_CakeToken *CakeTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*CakeTokenSession) TotalSupply

func (_CakeToken *CakeTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*CakeTokenSession) Transfer

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) TransferFrom

func (_CakeToken *CakeTokenSession) 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 (*CakeTokenSession) TransferOwnership

func (_CakeToken *CakeTokenSession) 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 CakeTokenTransactor

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

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

func NewCakeTokenTransactor

func NewCakeTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*CakeTokenTransactor, error)

NewCakeTokenTransactor creates a new write-only instance of CakeToken, bound to a specific deployed contract.

func (*CakeTokenTransactor) Approve

func (_CakeToken *CakeTokenTransactor) 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 (*CakeTokenTransactor) DecreaseAllowance

func (_CakeToken *CakeTokenTransactor) 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 (*CakeTokenTransactor) Delegate

func (_CakeToken *CakeTokenTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*CakeTokenTransactor) DelegateBySig

func (_CakeToken *CakeTokenTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*CakeTokenTransactor) IncreaseAllowance

func (_CakeToken *CakeTokenTransactor) 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 (*CakeTokenTransactor) Mint

func (_CakeToken *CakeTokenTransactor) 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 (*CakeTokenTransactor) Mint0

func (_CakeToken *CakeTokenTransactor) Mint0(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 amount) returns(bool)

func (*CakeTokenTransactor) RenounceOwnership

func (_CakeToken *CakeTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CakeTokenTransactor) Transfer

func (_CakeToken *CakeTokenTransactor) 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 (*CakeTokenTransactor) TransferFrom

func (_CakeToken *CakeTokenTransactor) 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 (*CakeTokenTransactor) TransferOwnership

func (_CakeToken *CakeTokenTransactor) 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 CakeTokenTransactorRaw

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

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

func (*CakeTokenTransactorRaw) Transact

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

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

func (*CakeTokenTransactorRaw) Transfer

func (_CakeToken *CakeTokenTransactorRaw) 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 CakeTokenTransactorSession

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

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

func (*CakeTokenTransactorSession) Approve

func (_CakeToken *CakeTokenTransactorSession) 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 (*CakeTokenTransactorSession) DecreaseAllowance

func (_CakeToken *CakeTokenTransactorSession) 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 (*CakeTokenTransactorSession) Delegate

func (_CakeToken *CakeTokenTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*CakeTokenTransactorSession) DelegateBySig

func (_CakeToken *CakeTokenTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*CakeTokenTransactorSession) IncreaseAllowance

func (_CakeToken *CakeTokenTransactorSession) 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 (*CakeTokenTransactorSession) Mint

func (_CakeToken *CakeTokenTransactorSession) 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 (*CakeTokenTransactorSession) Mint0

func (_CakeToken *CakeTokenTransactorSession) Mint0(amount *big.Int) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xa0712d68.

Solidity: function mint(uint256 amount) returns(bool)

func (*CakeTokenTransactorSession) RenounceOwnership

func (_CakeToken *CakeTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CakeTokenTransactorSession) Transfer

func (_CakeToken *CakeTokenTransactorSession) 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 (*CakeTokenTransactorSession) TransferFrom

func (_CakeToken *CakeTokenTransactorSession) 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 (*CakeTokenTransactorSession) TransferOwnership

func (_CakeToken *CakeTokenTransactorSession) 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 CakeTokenTransfer

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

CakeTokenTransfer represents a Transfer event raised by the CakeToken contract.

type CakeTokenTransferIterator

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

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

func (*CakeTokenTransferIterator) Close

func (it *CakeTokenTransferIterator) Close() error

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

func (*CakeTokenTransferIterator) Error

func (it *CakeTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CakeTokenTransferIterator) Next

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

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

type ContextSession struct {
	Contract     *Context          // 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
}

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

type ContextTransactor

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

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

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

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

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

type IBEP20

type IBEP20 struct {
	IBEP20Caller     // Read-only binding to the contract
	IBEP20Transactor // Write-only binding to the contract
	IBEP20Filterer   // Log filterer for contract events
}

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

func NewIBEP20

func NewIBEP20(address common.Address, backend bind.ContractBackend) (*IBEP20, error)

NewIBEP20 creates a new instance of IBEP20, bound to a specific deployed contract.

type IBEP20Approval

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

IBEP20Approval represents a Approval event raised by the IBEP20 contract.

type IBEP20ApprovalIterator

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

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

func (*IBEP20ApprovalIterator) Close

func (it *IBEP20ApprovalIterator) Close() error

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

func (*IBEP20ApprovalIterator) Error

func (it *IBEP20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IBEP20ApprovalIterator) Next

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

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

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

func NewIBEP20Caller

func NewIBEP20Caller(address common.Address, caller bind.ContractCaller) (*IBEP20Caller, error)

NewIBEP20Caller creates a new read-only instance of IBEP20, bound to a specific deployed contract.

func (*IBEP20Caller) Allowance

func (_IBEP20 *IBEP20Caller) 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 (*IBEP20Caller) BalanceOf

func (_IBEP20 *IBEP20Caller) 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 (*IBEP20Caller) Decimals

func (_IBEP20 *IBEP20Caller) 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 (*IBEP20Caller) GetOwner

func (_IBEP20 *IBEP20Caller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*IBEP20Caller) Name

func (_IBEP20 *IBEP20Caller) 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 (*IBEP20Caller) Symbol

func (_IBEP20 *IBEP20Caller) 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 (*IBEP20Caller) TotalSupply

func (_IBEP20 *IBEP20Caller) 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 IBEP20CallerRaw

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

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

func (*IBEP20CallerRaw) Call

func (_IBEP20 *IBEP20CallerRaw) 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 IBEP20CallerSession

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

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

func (*IBEP20CallerSession) Allowance

func (_IBEP20 *IBEP20CallerSession) 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 (*IBEP20CallerSession) BalanceOf

func (_IBEP20 *IBEP20CallerSession) 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 (*IBEP20CallerSession) Decimals

func (_IBEP20 *IBEP20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IBEP20CallerSession) GetOwner

func (_IBEP20 *IBEP20CallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*IBEP20CallerSession) Name

func (_IBEP20 *IBEP20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IBEP20CallerSession) Symbol

func (_IBEP20 *IBEP20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IBEP20CallerSession) TotalSupply

func (_IBEP20 *IBEP20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IBEP20Filterer

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

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

func NewIBEP20Filterer

func NewIBEP20Filterer(address common.Address, filterer bind.ContractFilterer) (*IBEP20Filterer, error)

NewIBEP20Filterer creates a new log filterer instance of IBEP20, bound to a specific deployed contract.

func (*IBEP20Filterer) FilterApproval

func (_IBEP20 *IBEP20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IBEP20ApprovalIterator, 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 (*IBEP20Filterer) FilterTransfer

func (_IBEP20 *IBEP20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IBEP20TransferIterator, 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 (*IBEP20Filterer) ParseApproval

func (_IBEP20 *IBEP20Filterer) ParseApproval(log types.Log) (*IBEP20Approval, error)

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

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

func (*IBEP20Filterer) ParseTransfer

func (_IBEP20 *IBEP20Filterer) ParseTransfer(log types.Log) (*IBEP20Transfer, error)

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

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

func (*IBEP20Filterer) WatchApproval

func (_IBEP20 *IBEP20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IBEP20Approval, 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 (*IBEP20Filterer) WatchTransfer

func (_IBEP20 *IBEP20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IBEP20Transfer, 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 IBEP20Raw

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

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

func (*IBEP20Raw) Call

func (_IBEP20 *IBEP20Raw) 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 (*IBEP20Raw) Transact

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

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

func (*IBEP20Raw) Transfer

func (_IBEP20 *IBEP20Raw) 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 IBEP20Session

type IBEP20Session struct {
	Contract     *IBEP20           // 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
}

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

func (*IBEP20Session) Allowance

func (_IBEP20 *IBEP20Session) 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 (*IBEP20Session) Approve

func (_IBEP20 *IBEP20Session) 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 (*IBEP20Session) BalanceOf

func (_IBEP20 *IBEP20Session) 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 (*IBEP20Session) Decimals

func (_IBEP20 *IBEP20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*IBEP20Session) GetOwner

func (_IBEP20 *IBEP20Session) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x893d20e8.

Solidity: function getOwner() view returns(address)

func (*IBEP20Session) Name

func (_IBEP20 *IBEP20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*IBEP20Session) Symbol

func (_IBEP20 *IBEP20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*IBEP20Session) TotalSupply

func (_IBEP20 *IBEP20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*IBEP20Session) Transfer

func (_IBEP20 *IBEP20Session) 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 (*IBEP20Session) TransferFrom

func (_IBEP20 *IBEP20Session) 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)

type IBEP20Transactor

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

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

func NewIBEP20Transactor

func NewIBEP20Transactor(address common.Address, transactor bind.ContractTransactor) (*IBEP20Transactor, error)

NewIBEP20Transactor creates a new write-only instance of IBEP20, bound to a specific deployed contract.

func (*IBEP20Transactor) Approve

func (_IBEP20 *IBEP20Transactor) 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 (*IBEP20Transactor) Transfer

func (_IBEP20 *IBEP20Transactor) 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 (*IBEP20Transactor) TransferFrom

func (_IBEP20 *IBEP20Transactor) 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)

type IBEP20TransactorRaw

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

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

func (*IBEP20TransactorRaw) Transact

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

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

func (*IBEP20TransactorRaw) Transfer

func (_IBEP20 *IBEP20TransactorRaw) 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 IBEP20TransactorSession

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

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

func (*IBEP20TransactorSession) Approve

func (_IBEP20 *IBEP20TransactorSession) 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 (*IBEP20TransactorSession) Transfer

func (_IBEP20 *IBEP20TransactorSession) 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 (*IBEP20TransactorSession) TransferFrom

func (_IBEP20 *IBEP20TransactorSession) 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)

type IBEP20Transfer

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

IBEP20Transfer represents a Transfer event raised by the IBEP20 contract.

type IBEP20TransferIterator

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

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

func (*IBEP20TransferIterator) Close

func (it *IBEP20TransferIterator) Close() error

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

func (*IBEP20TransferIterator) Error

func (it *IBEP20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IBEP20TransferIterator) Next

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

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableFilterer

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

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

func NewOwnableFilterer

func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, 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)

type OwnableOwnershipTransferred

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

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnableOwnershipTransferredIterator) 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 OwnableRaw

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

type OwnableSession struct {
	Contract     *Ownable          // 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
}

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

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) 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 OwnableTransactor

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

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

func NewOwnableTransactor

func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) 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 OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) 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 SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

Source Files

Jump to

Keyboard shortcuts

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