masterChef

package
v1.66.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 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 IMigratorChefABI = "" /* 259-byte string literal not displayed */

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

View Source
const MasterChefABI = "" /* 9316-byte string literal not displayed */

MasterChefABI 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 SafeBEP20ABI = "[]"

SafeBEP20ABI 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.

View Source
const SyrupBarABI = "" /* 9287-byte string literal not displayed */

SyrupBarABI 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 IMigratorChefFuncSigs = map[string]string{
	"ce5494bb": "migrate(address)",
}

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

View Source
var MasterChefBin = "" /* 20276-byte string literal not displayed */

MasterChefBin is the compiled bytecode used for deploying new contracts.

View Source
var MasterChefFuncSigs = map[string]string{
	"8aa28550": "BONUS_MULTIPLIER()",
	"1eaaa045": "add(uint256,address,bool)",
	"dce17484": "cake()",
	"8866ba66": "cakePerBlockCfg(uint256)",
	"397ae9fd": "calcCake2Reward(uint256,uint256)",
	"e2bbb158": "deposit(uint256,uint256)",
	"8d88a90e": "dev(address)",
	"d49e77cd": "devaddr()",
	"5312ea8e": "emergencyWithdraw(uint256)",
	"41441d3b": "enterStaking(uint256)",
	"260363c5": "getCakePerBlock(uint256)",
	"8dbb1e3a": "getMultiplier(uint256,uint256)",
	"eb9a8e52": "latestCakePerBlockIndex()",
	"1058d281": "leaveStaking(uint256)",
	"630b5ba1": "massUpdatePools()",
	"454b0608": "migrate(uint256)",
	"7cd07e47": "migrator()",
	"8da5cb5b": "owner()",
	"1175a1dd": "pendingCake(uint256,address)",
	"1526fe27": "poolInfo(uint256)",
	"081e3eda": "poolLength()",
	"715018a6": "renounceOwnership()",
	"64482f79": "set(uint256,uint256,bool)",
	"23cf3118": "setMigrator(address)",
	"48cd4cb1": "startBlock()",
	"86a952c4": "syrup()",
	"17caf6f1": "totalAllocPoint()",
	"f2fde38b": "transferOwnership(address)",
	"306b13ca": "updateCakePerBlock(uint256,uint256)",
	"5ffe6146": "updateMultiplier(uint256)",
	"51eb05a6": "updatePool(uint256)",
	"93f1a40b": "userInfo(uint256,address)",
	"441a3e70": "withdraw(uint256,uint256)",
}

MasterChefFuncSigs 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 SafeBEP20Bin = "" /* 244-byte string literal not displayed */

SafeBEP20Bin is the compiled bytecode used for deploying new contracts.

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

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
var SyrupBarBin = "" /* 17278-byte string literal not displayed */

SyrupBarBin is the compiled bytecode used for deploying new contracts.

View Source
var SyrupBarFuncSigs = map[string]string{
	"e7a324dc": "DELEGATION_TYPEHASH()",
	"20606b70": "DOMAIN_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"9dc29fac": "burn(address,uint256)",
	"dce17484": "cake()",
	"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()",
	"a2e6ddcc": "safeCakeTransfer(address,uint256)",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"f2fde38b": "transferOwnership(address)",
}

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

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 IMigratorChef

type IMigratorChef struct {
	IMigratorChefCaller     // Read-only binding to the contract
	IMigratorChefTransactor // Write-only binding to the contract
	IMigratorChefFilterer   // Log filterer for contract events
}

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

func NewIMigratorChef

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

NewIMigratorChef creates a new instance of IMigratorChef, bound to a specific deployed contract.

type IMigratorChefCaller

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

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

func NewIMigratorChefCaller

func NewIMigratorChefCaller(address common.Address, caller bind.ContractCaller) (*IMigratorChefCaller, error)

NewIMigratorChefCaller creates a new read-only instance of IMigratorChef, bound to a specific deployed contract.

type IMigratorChefCallerRaw

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

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

func (*IMigratorChefCallerRaw) Call

func (_IMigratorChef *IMigratorChefCallerRaw) 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 IMigratorChefCallerSession

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

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

type IMigratorChefFilterer

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

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

func NewIMigratorChefFilterer

func NewIMigratorChefFilterer(address common.Address, filterer bind.ContractFilterer) (*IMigratorChefFilterer, error)

NewIMigratorChefFilterer creates a new log filterer instance of IMigratorChef, bound to a specific deployed contract.

type IMigratorChefRaw

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

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

func (*IMigratorChefRaw) Call

func (_IMigratorChef *IMigratorChefRaw) 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 (*IMigratorChefRaw) Transact

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

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

func (*IMigratorChefRaw) Transfer

func (_IMigratorChef *IMigratorChefRaw) 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 IMigratorChefSession

type IMigratorChefSession struct {
	Contract     *IMigratorChef    // 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
}

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

func (*IMigratorChefSession) Migrate

func (_IMigratorChef *IMigratorChefSession) Migrate(token common.Address) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xce5494bb.

Solidity: function migrate(address token) returns(address)

type IMigratorChefTransactor

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

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

func NewIMigratorChefTransactor

func NewIMigratorChefTransactor(address common.Address, transactor bind.ContractTransactor) (*IMigratorChefTransactor, error)

NewIMigratorChefTransactor creates a new write-only instance of IMigratorChef, bound to a specific deployed contract.

func (*IMigratorChefTransactor) Migrate

func (_IMigratorChef *IMigratorChefTransactor) Migrate(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xce5494bb.

Solidity: function migrate(address token) returns(address)

type IMigratorChefTransactorRaw

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

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

func (*IMigratorChefTransactorRaw) Transact

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

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

func (*IMigratorChefTransactorRaw) Transfer

func (_IMigratorChef *IMigratorChefTransactorRaw) 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 IMigratorChefTransactorSession

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

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

func (*IMigratorChefTransactorSession) Migrate

func (_IMigratorChef *IMigratorChefTransactorSession) Migrate(token common.Address) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xce5494bb.

Solidity: function migrate(address token) returns(address)

type MasterChef

type MasterChef struct {
	MasterChefCaller     // Read-only binding to the contract
	MasterChefTransactor // Write-only binding to the contract
	MasterChefFilterer   // Log filterer for contract events
}

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

func DeployMasterChef

func DeployMasterChef(auth *bind.TransactOpts, backend bind.ContractBackend, _cake common.Address, _syrup common.Address, _devaddr common.Address, _cakePerBlock *big.Int, _startBlock *big.Int) (common.Address, *types.Transaction, *MasterChef, error)

DeployMasterChef deploys a new Ethereum contract, binding an instance of MasterChef to it.

func NewMasterChef

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

NewMasterChef creates a new instance of MasterChef, bound to a specific deployed contract.

type MasterChefCaller

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

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

func NewMasterChefCaller

func NewMasterChefCaller(address common.Address, caller bind.ContractCaller) (*MasterChefCaller, error)

NewMasterChefCaller creates a new read-only instance of MasterChef, bound to a specific deployed contract.

func (*MasterChefCaller) BONUSMULTIPLIER

func (_MasterChef *MasterChefCaller) BONUSMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*MasterChefCaller) Cake

func (_MasterChef *MasterChefCaller) Cake(opts *bind.CallOpts) (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*MasterChefCaller) CakePerBlockCfg

func (_MasterChef *MasterChefCaller) CakePerBlockCfg(opts *bind.CallOpts, arg0 *big.Int) (struct {
	CakePerBlock *big.Int
	StartBlock   *big.Int
}, error)

CakePerBlockCfg is a free data retrieval call binding the contract method 0x8866ba66.

Solidity: function cakePerBlockCfg(uint256 ) view returns(uint256 cakePerBlock, uint256 startBlock)

func (*MasterChefCaller) CalcCake2Reward

func (_MasterChef *MasterChefCaller) CalcCake2Reward(opts *bind.CallOpts, _from *big.Int, _to *big.Int) (*big.Int, bool, error)

CalcCake2Reward is a free data retrieval call binding the contract method 0x397ae9fd.

Solidity: function calcCake2Reward(uint256 _from, uint256 _to) view returns(uint256, bool)

func (*MasterChefCaller) Devaddr

func (_MasterChef *MasterChefCaller) Devaddr(opts *bind.CallOpts) (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*MasterChefCaller) GetCakePerBlock

func (_MasterChef *MasterChefCaller) GetCakePerBlock(opts *bind.CallOpts, height *big.Int) (*big.Int, error)

GetCakePerBlock is a free data retrieval call binding the contract method 0x260363c5.

Solidity: function getCakePerBlock(uint256 height) view returns(uint256)

func (*MasterChefCaller) GetMultiplier

func (_MasterChef *MasterChefCaller) GetMultiplier(opts *bind.CallOpts, _from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*MasterChefCaller) LatestCakePerBlockIndex

func (_MasterChef *MasterChefCaller) LatestCakePerBlockIndex(opts *bind.CallOpts) (*big.Int, error)

LatestCakePerBlockIndex is a free data retrieval call binding the contract method 0xeb9a8e52.

Solidity: function latestCakePerBlockIndex() view returns(uint256)

func (*MasterChefCaller) Migrator

func (_MasterChef *MasterChefCaller) Migrator(opts *bind.CallOpts) (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*MasterChefCaller) Owner

func (_MasterChef *MasterChefCaller) 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 (*MasterChefCaller) PendingCake

func (_MasterChef *MasterChefCaller) PendingCake(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)

PendingCake is a free data retrieval call binding the contract method 0x1175a1dd.

Solidity: function pendingCake(uint256 _pid, address _user) view returns(uint256)

func (*MasterChefCaller) PoolInfo

func (_MasterChef *MasterChefCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken         common.Address
	AllocPoint      *big.Int
	LastRewardBlock *big.Int
	AccCakePerShare *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accCakePerShare)

func (*MasterChefCaller) PoolLength

func (_MasterChef *MasterChefCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*MasterChefCaller) StartBlock

func (_MasterChef *MasterChefCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*MasterChefCaller) Syrup

func (_MasterChef *MasterChefCaller) Syrup(opts *bind.CallOpts) (common.Address, error)

Syrup is a free data retrieval call binding the contract method 0x86a952c4.

Solidity: function syrup() view returns(address)

func (*MasterChefCaller) TotalAllocPoint

func (_MasterChef *MasterChefCaller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*MasterChefCaller) UserInfo

func (_MasterChef *MasterChefCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type MasterChefCallerRaw

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

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

func (*MasterChefCallerRaw) Call

func (_MasterChef *MasterChefCallerRaw) 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 MasterChefCallerSession

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

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

func (*MasterChefCallerSession) BONUSMULTIPLIER

func (_MasterChef *MasterChefCallerSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*MasterChefCallerSession) Cake

func (_MasterChef *MasterChefCallerSession) Cake() (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*MasterChefCallerSession) CakePerBlockCfg

func (_MasterChef *MasterChefCallerSession) CakePerBlockCfg(arg0 *big.Int) (struct {
	CakePerBlock *big.Int
	StartBlock   *big.Int
}, error)

CakePerBlockCfg is a free data retrieval call binding the contract method 0x8866ba66.

Solidity: function cakePerBlockCfg(uint256 ) view returns(uint256 cakePerBlock, uint256 startBlock)

func (*MasterChefCallerSession) CalcCake2Reward

func (_MasterChef *MasterChefCallerSession) CalcCake2Reward(_from *big.Int, _to *big.Int) (*big.Int, bool, error)

CalcCake2Reward is a free data retrieval call binding the contract method 0x397ae9fd.

Solidity: function calcCake2Reward(uint256 _from, uint256 _to) view returns(uint256, bool)

func (*MasterChefCallerSession) Devaddr

func (_MasterChef *MasterChefCallerSession) Devaddr() (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*MasterChefCallerSession) GetCakePerBlock

func (_MasterChef *MasterChefCallerSession) GetCakePerBlock(height *big.Int) (*big.Int, error)

GetCakePerBlock is a free data retrieval call binding the contract method 0x260363c5.

Solidity: function getCakePerBlock(uint256 height) view returns(uint256)

func (*MasterChefCallerSession) GetMultiplier

func (_MasterChef *MasterChefCallerSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*MasterChefCallerSession) LatestCakePerBlockIndex

func (_MasterChef *MasterChefCallerSession) LatestCakePerBlockIndex() (*big.Int, error)

LatestCakePerBlockIndex is a free data retrieval call binding the contract method 0xeb9a8e52.

Solidity: function latestCakePerBlockIndex() view returns(uint256)

func (*MasterChefCallerSession) Migrator

func (_MasterChef *MasterChefCallerSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*MasterChefCallerSession) Owner

func (_MasterChef *MasterChefCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MasterChefCallerSession) PendingCake

func (_MasterChef *MasterChefCallerSession) PendingCake(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingCake is a free data retrieval call binding the contract method 0x1175a1dd.

Solidity: function pendingCake(uint256 _pid, address _user) view returns(uint256)

func (*MasterChefCallerSession) PoolInfo

func (_MasterChef *MasterChefCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken         common.Address
	AllocPoint      *big.Int
	LastRewardBlock *big.Int
	AccCakePerShare *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accCakePerShare)

func (*MasterChefCallerSession) PoolLength

func (_MasterChef *MasterChefCallerSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*MasterChefCallerSession) StartBlock

func (_MasterChef *MasterChefCallerSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*MasterChefCallerSession) Syrup

func (_MasterChef *MasterChefCallerSession) Syrup() (common.Address, error)

Syrup is a free data retrieval call binding the contract method 0x86a952c4.

Solidity: function syrup() view returns(address)

func (*MasterChefCallerSession) TotalAllocPoint

func (_MasterChef *MasterChefCallerSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*MasterChefCallerSession) UserInfo

func (_MasterChef *MasterChefCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

type MasterChefDeposit

type MasterChefDeposit struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MasterChefDeposit represents a Deposit event raised by the MasterChef contract.

type MasterChefDepositIterator

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

MasterChefDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the MasterChef contract.

func (*MasterChefDepositIterator) Close

func (it *MasterChefDepositIterator) Close() error

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

func (*MasterChefDepositIterator) Error

func (it *MasterChefDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefDepositIterator) Next

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

type MasterChefEmergencyWithdraw struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MasterChefEmergencyWithdraw represents a EmergencyWithdraw event raised by the MasterChef contract.

type MasterChefEmergencyWithdrawIterator

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

MasterChefEmergencyWithdrawIterator is returned from FilterEmergencyWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWithdraw events raised by the MasterChef contract.

func (*MasterChefEmergencyWithdrawIterator) Close

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

func (*MasterChefEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefEmergencyWithdrawIterator) 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 MasterChefFilterer

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

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

func NewMasterChefFilterer

func NewMasterChefFilterer(address common.Address, filterer bind.ContractFilterer) (*MasterChefFilterer, error)

NewMasterChefFilterer creates a new log filterer instance of MasterChef, bound to a specific deployed contract.

func (*MasterChefFilterer) FilterDeposit

func (_MasterChef *MasterChefFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterChefDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) FilterEmergencyWithdraw

func (_MasterChef *MasterChefFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterChefEmergencyWithdrawIterator, error)

FilterEmergencyWithdraw is a free log retrieval operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) FilterOwnershipTransferred

func (_MasterChef *MasterChefFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MasterChefOwnershipTransferredIterator, error)

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

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

func (*MasterChefFilterer) FilterWithdraw

func (_MasterChef *MasterChefFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*MasterChefWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) ParseDeposit

func (_MasterChef *MasterChefFilterer) ParseDeposit(log types.Log) (*MasterChefDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) ParseEmergencyWithdraw

func (_MasterChef *MasterChefFilterer) ParseEmergencyWithdraw(log types.Log) (*MasterChefEmergencyWithdraw, error)

ParseEmergencyWithdraw is a log parse operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) ParseOwnershipTransferred

func (_MasterChef *MasterChefFilterer) ParseOwnershipTransferred(log types.Log) (*MasterChefOwnershipTransferred, error)

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

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

func (*MasterChefFilterer) ParseWithdraw

func (_MasterChef *MasterChefFilterer) ParseWithdraw(log types.Log) (*MasterChefWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) WatchDeposit

func (_MasterChef *MasterChefFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *MasterChefDeposit, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.

Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) WatchEmergencyWithdraw

func (_MasterChef *MasterChefFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *MasterChefEmergencyWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchEmergencyWithdraw is a free log subscription operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.

Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)

func (*MasterChefFilterer) WatchOwnershipTransferred

func (_MasterChef *MasterChefFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MasterChefOwnershipTransferred, 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 (*MasterChefFilterer) WatchWithdraw

func (_MasterChef *MasterChefFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *MasterChefWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)

type MasterChefOwnershipTransferred

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

MasterChefOwnershipTransferred represents a OwnershipTransferred event raised by the MasterChef contract.

type MasterChefOwnershipTransferredIterator

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

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

func (*MasterChefOwnershipTransferredIterator) Close

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

func (*MasterChefOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefOwnershipTransferredIterator) 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 MasterChefRaw

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

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

func (*MasterChefRaw) Call

func (_MasterChef *MasterChefRaw) 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 (*MasterChefRaw) Transact

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

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

func (*MasterChefRaw) Transfer

func (_MasterChef *MasterChefRaw) 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 MasterChefSession

type MasterChefSession struct {
	Contract     *MasterChef       // 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
}

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

func (*MasterChefSession) Add

func (_MasterChef *MasterChefSession) Add(_allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x1eaaa045.

Solidity: function add(uint256 _allocPoint, address _lpToken, bool _withUpdate) returns()

func (*MasterChefSession) BONUSMULTIPLIER

func (_MasterChef *MasterChefSession) BONUSMULTIPLIER() (*big.Int, error)

BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.

Solidity: function BONUS_MULTIPLIER() view returns(uint256)

func (*MasterChefSession) Cake

func (_MasterChef *MasterChefSession) Cake() (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*MasterChefSession) CakePerBlockCfg

func (_MasterChef *MasterChefSession) CakePerBlockCfg(arg0 *big.Int) (struct {
	CakePerBlock *big.Int
	StartBlock   *big.Int
}, error)

CakePerBlockCfg is a free data retrieval call binding the contract method 0x8866ba66.

Solidity: function cakePerBlockCfg(uint256 ) view returns(uint256 cakePerBlock, uint256 startBlock)

func (*MasterChefSession) CalcCake2Reward

func (_MasterChef *MasterChefSession) CalcCake2Reward(_from *big.Int, _to *big.Int) (*big.Int, bool, error)

CalcCake2Reward is a free data retrieval call binding the contract method 0x397ae9fd.

Solidity: function calcCake2Reward(uint256 _from, uint256 _to) view returns(uint256, bool)

func (*MasterChefSession) Deposit

func (_MasterChef *MasterChefSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*MasterChefSession) Dev

func (_MasterChef *MasterChefSession) Dev(_devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*MasterChefSession) Devaddr

func (_MasterChef *MasterChefSession) Devaddr() (common.Address, error)

Devaddr is a free data retrieval call binding the contract method 0xd49e77cd.

Solidity: function devaddr() view returns(address)

func (*MasterChefSession) EmergencyWithdraw

func (_MasterChef *MasterChefSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*MasterChefSession) EnterStaking

func (_MasterChef *MasterChefSession) EnterStaking(_amount *big.Int) (*types.Transaction, error)

EnterStaking is a paid mutator transaction binding the contract method 0x41441d3b.

Solidity: function enterStaking(uint256 _amount) returns()

func (*MasterChefSession) GetCakePerBlock

func (_MasterChef *MasterChefSession) GetCakePerBlock(height *big.Int) (*big.Int, error)

GetCakePerBlock is a free data retrieval call binding the contract method 0x260363c5.

Solidity: function getCakePerBlock(uint256 height) view returns(uint256)

func (*MasterChefSession) GetMultiplier

func (_MasterChef *MasterChefSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)

GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.

Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)

func (*MasterChefSession) LatestCakePerBlockIndex

func (_MasterChef *MasterChefSession) LatestCakePerBlockIndex() (*big.Int, error)

LatestCakePerBlockIndex is a free data retrieval call binding the contract method 0xeb9a8e52.

Solidity: function latestCakePerBlockIndex() view returns(uint256)

func (*MasterChefSession) LeaveStaking

func (_MasterChef *MasterChefSession) LeaveStaking(_amount *big.Int) (*types.Transaction, error)

LeaveStaking is a paid mutator transaction binding the contract method 0x1058d281.

Solidity: function leaveStaking(uint256 _amount) returns()

func (*MasterChefSession) MassUpdatePools

func (_MasterChef *MasterChefSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*MasterChefSession) Migrate

func (_MasterChef *MasterChefSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*MasterChefSession) Migrator

func (_MasterChef *MasterChefSession) Migrator() (common.Address, error)

Migrator is a free data retrieval call binding the contract method 0x7cd07e47.

Solidity: function migrator() view returns(address)

func (*MasterChefSession) Owner

func (_MasterChef *MasterChefSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MasterChefSession) PendingCake

func (_MasterChef *MasterChefSession) PendingCake(_pid *big.Int, _user common.Address) (*big.Int, error)

PendingCake is a free data retrieval call binding the contract method 0x1175a1dd.

Solidity: function pendingCake(uint256 _pid, address _user) view returns(uint256)

func (*MasterChefSession) PoolInfo

func (_MasterChef *MasterChefSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken         common.Address
	AllocPoint      *big.Int
	LastRewardBlock *big.Int
	AccCakePerShare *big.Int
}, error)

PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accCakePerShare)

func (*MasterChefSession) PoolLength

func (_MasterChef *MasterChefSession) PoolLength() (*big.Int, error)

PoolLength is a free data retrieval call binding the contract method 0x081e3eda.

Solidity: function poolLength() view returns(uint256)

func (*MasterChefSession) RenounceOwnership

func (_MasterChef *MasterChefSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MasterChefSession) Set

func (_MasterChef *MasterChefSession) Set(_pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*MasterChefSession) SetMigrator

func (_MasterChef *MasterChefSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*MasterChefSession) StartBlock

func (_MasterChef *MasterChefSession) StartBlock() (*big.Int, error)

StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.

Solidity: function startBlock() view returns(uint256)

func (*MasterChefSession) Syrup

func (_MasterChef *MasterChefSession) Syrup() (common.Address, error)

Syrup is a free data retrieval call binding the contract method 0x86a952c4.

Solidity: function syrup() view returns(address)

func (*MasterChefSession) TotalAllocPoint

func (_MasterChef *MasterChefSession) TotalAllocPoint() (*big.Int, error)

TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.

Solidity: function totalAllocPoint() view returns(uint256)

func (*MasterChefSession) TransferOwnership

func (_MasterChef *MasterChefSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MasterChefSession) UpdateCakePerBlock

func (_MasterChef *MasterChefSession) UpdateCakePerBlock(_cakePerBlock *big.Int, _startBlock *big.Int) (*types.Transaction, error)

UpdateCakePerBlock is a paid mutator transaction binding the contract method 0x306b13ca.

Solidity: function updateCakePerBlock(uint256 _cakePerBlock, uint256 _startBlock) returns()

func (*MasterChefSession) UpdateMultiplier

func (_MasterChef *MasterChefSession) UpdateMultiplier(multiplierNumber *big.Int) (*types.Transaction, error)

UpdateMultiplier is a paid mutator transaction binding the contract method 0x5ffe6146.

Solidity: function updateMultiplier(uint256 multiplierNumber) returns()

func (*MasterChefSession) UpdatePool

func (_MasterChef *MasterChefSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*MasterChefSession) UserInfo

func (_MasterChef *MasterChefSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct {
	Amount     *big.Int
	RewardDebt *big.Int
}, error)

UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.

Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)

func (*MasterChefSession) Withdraw

func (_MasterChef *MasterChefSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

type MasterChefTransactor

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

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

func NewMasterChefTransactor

func NewMasterChefTransactor(address common.Address, transactor bind.ContractTransactor) (*MasterChefTransactor, error)

NewMasterChefTransactor creates a new write-only instance of MasterChef, bound to a specific deployed contract.

func (*MasterChefTransactor) Add

func (_MasterChef *MasterChefTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x1eaaa045.

Solidity: function add(uint256 _allocPoint, address _lpToken, bool _withUpdate) returns()

func (*MasterChefTransactor) Deposit

func (_MasterChef *MasterChefTransactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*MasterChefTransactor) Dev

func (_MasterChef *MasterChefTransactor) Dev(opts *bind.TransactOpts, _devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*MasterChefTransactor) EmergencyWithdraw

func (_MasterChef *MasterChefTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*MasterChefTransactor) EnterStaking

func (_MasterChef *MasterChefTransactor) EnterStaking(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

EnterStaking is a paid mutator transaction binding the contract method 0x41441d3b.

Solidity: function enterStaking(uint256 _amount) returns()

func (*MasterChefTransactor) LeaveStaking

func (_MasterChef *MasterChefTransactor) LeaveStaking(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

LeaveStaking is a paid mutator transaction binding the contract method 0x1058d281.

Solidity: function leaveStaking(uint256 _amount) returns()

func (*MasterChefTransactor) MassUpdatePools

func (_MasterChef *MasterChefTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*MasterChefTransactor) Migrate

func (_MasterChef *MasterChefTransactor) Migrate(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*MasterChefTransactor) RenounceOwnership

func (_MasterChef *MasterChefTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MasterChefTransactor) Set

func (_MasterChef *MasterChefTransactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*MasterChefTransactor) SetMigrator

func (_MasterChef *MasterChefTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*MasterChefTransactor) TransferOwnership

func (_MasterChef *MasterChefTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MasterChefTransactor) UpdateCakePerBlock

func (_MasterChef *MasterChefTransactor) UpdateCakePerBlock(opts *bind.TransactOpts, _cakePerBlock *big.Int, _startBlock *big.Int) (*types.Transaction, error)

UpdateCakePerBlock is a paid mutator transaction binding the contract method 0x306b13ca.

Solidity: function updateCakePerBlock(uint256 _cakePerBlock, uint256 _startBlock) returns()

func (*MasterChefTransactor) UpdateMultiplier

func (_MasterChef *MasterChefTransactor) UpdateMultiplier(opts *bind.TransactOpts, multiplierNumber *big.Int) (*types.Transaction, error)

UpdateMultiplier is a paid mutator transaction binding the contract method 0x5ffe6146.

Solidity: function updateMultiplier(uint256 multiplierNumber) returns()

func (*MasterChefTransactor) UpdatePool

func (_MasterChef *MasterChefTransactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*MasterChefTransactor) Withdraw

func (_MasterChef *MasterChefTransactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

type MasterChefTransactorRaw

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

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

func (*MasterChefTransactorRaw) Transact

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

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

func (*MasterChefTransactorRaw) Transfer

func (_MasterChef *MasterChefTransactorRaw) 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 MasterChefTransactorSession

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

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

func (*MasterChefTransactorSession) Add

func (_MasterChef *MasterChefTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address, _withUpdate bool) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x1eaaa045.

Solidity: function add(uint256 _allocPoint, address _lpToken, bool _withUpdate) returns()

func (*MasterChefTransactorSession) Deposit

func (_MasterChef *MasterChefTransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.

Solidity: function deposit(uint256 _pid, uint256 _amount) returns()

func (*MasterChefTransactorSession) Dev

func (_MasterChef *MasterChefTransactorSession) Dev(_devaddr common.Address) (*types.Transaction, error)

Dev is a paid mutator transaction binding the contract method 0x8d88a90e.

Solidity: function dev(address _devaddr) returns()

func (*MasterChefTransactorSession) EmergencyWithdraw

func (_MasterChef *MasterChefTransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.

Solidity: function emergencyWithdraw(uint256 _pid) returns()

func (*MasterChefTransactorSession) EnterStaking

func (_MasterChef *MasterChefTransactorSession) EnterStaking(_amount *big.Int) (*types.Transaction, error)

EnterStaking is a paid mutator transaction binding the contract method 0x41441d3b.

Solidity: function enterStaking(uint256 _amount) returns()

func (*MasterChefTransactorSession) LeaveStaking

func (_MasterChef *MasterChefTransactorSession) LeaveStaking(_amount *big.Int) (*types.Transaction, error)

LeaveStaking is a paid mutator transaction binding the contract method 0x1058d281.

Solidity: function leaveStaking(uint256 _amount) returns()

func (*MasterChefTransactorSession) MassUpdatePools

func (_MasterChef *MasterChefTransactorSession) MassUpdatePools() (*types.Transaction, error)

MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.

Solidity: function massUpdatePools() returns()

func (*MasterChefTransactorSession) Migrate

func (_MasterChef *MasterChefTransactorSession) Migrate(_pid *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 _pid) returns()

func (*MasterChefTransactorSession) RenounceOwnership

func (_MasterChef *MasterChefTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MasterChefTransactorSession) Set

func (_MasterChef *MasterChefTransactorSession) Set(_pid *big.Int, _allocPoint *big.Int, _withUpdate bool) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x64482f79.

Solidity: function set(uint256 _pid, uint256 _allocPoint, bool _withUpdate) returns()

func (*MasterChefTransactorSession) SetMigrator

func (_MasterChef *MasterChefTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)

SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.

Solidity: function setMigrator(address _migrator) returns()

func (*MasterChefTransactorSession) TransferOwnership

func (_MasterChef *MasterChefTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*MasterChefTransactorSession) UpdateCakePerBlock

func (_MasterChef *MasterChefTransactorSession) UpdateCakePerBlock(_cakePerBlock *big.Int, _startBlock *big.Int) (*types.Transaction, error)

UpdateCakePerBlock is a paid mutator transaction binding the contract method 0x306b13ca.

Solidity: function updateCakePerBlock(uint256 _cakePerBlock, uint256 _startBlock) returns()

func (*MasterChefTransactorSession) UpdateMultiplier

func (_MasterChef *MasterChefTransactorSession) UpdateMultiplier(multiplierNumber *big.Int) (*types.Transaction, error)

UpdateMultiplier is a paid mutator transaction binding the contract method 0x5ffe6146.

Solidity: function updateMultiplier(uint256 multiplierNumber) returns()

func (*MasterChefTransactorSession) UpdatePool

func (_MasterChef *MasterChefTransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)

UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.

Solidity: function updatePool(uint256 _pid) returns()

func (*MasterChefTransactorSession) Withdraw

func (_MasterChef *MasterChefTransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()

type MasterChefWithdraw

type MasterChefWithdraw struct {
	User   common.Address
	Pid    *big.Int
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

MasterChefWithdraw represents a Withdraw event raised by the MasterChef contract.

type MasterChefWithdrawIterator

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

MasterChefWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the MasterChef contract.

func (*MasterChefWithdrawIterator) Close

func (it *MasterChefWithdrawIterator) Close() error

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

func (*MasterChefWithdrawIterator) Error

func (it *MasterChefWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MasterChefWithdrawIterator) Next

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

type SafeBEP20 struct {
	SafeBEP20Caller     // Read-only binding to the contract
	SafeBEP20Transactor // Write-only binding to the contract
	SafeBEP20Filterer   // Log filterer for contract events
}

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

func DeploySafeBEP20

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

DeploySafeBEP20 deploys a new Ethereum contract, binding an instance of SafeBEP20 to it.

func NewSafeBEP20

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

NewSafeBEP20 creates a new instance of SafeBEP20, bound to a specific deployed contract.

type SafeBEP20Caller

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

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

func NewSafeBEP20Caller

func NewSafeBEP20Caller(address common.Address, caller bind.ContractCaller) (*SafeBEP20Caller, error)

NewSafeBEP20Caller creates a new read-only instance of SafeBEP20, bound to a specific deployed contract.

type SafeBEP20CallerRaw

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

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

func (*SafeBEP20CallerRaw) Call

func (_SafeBEP20 *SafeBEP20CallerRaw) 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 SafeBEP20CallerSession

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

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

type SafeBEP20Filterer

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

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

func NewSafeBEP20Filterer

func NewSafeBEP20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeBEP20Filterer, error)

NewSafeBEP20Filterer creates a new log filterer instance of SafeBEP20, bound to a specific deployed contract.

type SafeBEP20Raw

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

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

func (*SafeBEP20Raw) Call

func (_SafeBEP20 *SafeBEP20Raw) 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 (*SafeBEP20Raw) Transact

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

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

func (*SafeBEP20Raw) Transfer

func (_SafeBEP20 *SafeBEP20Raw) 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 SafeBEP20Session

type SafeBEP20Session struct {
	Contract     *SafeBEP20        // 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
}

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

type SafeBEP20Transactor

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

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

func NewSafeBEP20Transactor

func NewSafeBEP20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeBEP20Transactor, error)

NewSafeBEP20Transactor creates a new write-only instance of SafeBEP20, bound to a specific deployed contract.

type SafeBEP20TransactorRaw

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

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

func (*SafeBEP20TransactorRaw) Transact

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

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

func (*SafeBEP20TransactorRaw) Transfer

func (_SafeBEP20 *SafeBEP20TransactorRaw) 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 SafeBEP20TransactorSession

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

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

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.

type SyrupBar

type SyrupBar struct {
	SyrupBarCaller     // Read-only binding to the contract
	SyrupBarTransactor // Write-only binding to the contract
	SyrupBarFilterer   // Log filterer for contract events
}

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

func DeploySyrupBar

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

DeploySyrupBar deploys a new Ethereum contract, binding an instance of SyrupBar to it.

func NewSyrupBar

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

NewSyrupBar creates a new instance of SyrupBar, bound to a specific deployed contract.

type SyrupBarApproval

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

SyrupBarApproval represents a Approval event raised by the SyrupBar contract.

type SyrupBarApprovalIterator

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

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

func (*SyrupBarApprovalIterator) Close

func (it *SyrupBarApprovalIterator) Close() error

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

func (*SyrupBarApprovalIterator) Error

func (it *SyrupBarApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SyrupBarApprovalIterator) Next

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

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

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

func NewSyrupBarCaller

func NewSyrupBarCaller(address common.Address, caller bind.ContractCaller) (*SyrupBarCaller, error)

NewSyrupBarCaller creates a new read-only instance of SyrupBar, bound to a specific deployed contract.

func (*SyrupBarCaller) Allowance

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) BalanceOf

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Cake

func (_SyrupBar *SyrupBarCaller) Cake(opts *bind.CallOpts) (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*SyrupBarCaller) Checkpoints

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) DELEGATIONTYPEHASH

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) DOMAINTYPEHASH

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Decimals

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Delegates

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) GetCurrentVotes

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) GetOwner

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) GetPriorVotes

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Name

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Nonces

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) NumCheckpoints

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Owner

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) Symbol

func (_SyrupBar *SyrupBarCaller) 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 (*SyrupBarCaller) TotalSupply

func (_SyrupBar *SyrupBarCaller) 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 SyrupBarCallerRaw

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

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

func (*SyrupBarCallerRaw) Call

func (_SyrupBar *SyrupBarCallerRaw) 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 SyrupBarCallerSession

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

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

func (*SyrupBarCallerSession) Allowance

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) BalanceOf

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) Cake

func (_SyrupBar *SyrupBarCallerSession) Cake() (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*SyrupBarCallerSession) Checkpoints

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) DELEGATIONTYPEHASH

func (_SyrupBar *SyrupBarCallerSession) DELEGATIONTYPEHASH() ([32]byte, error)

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

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*SyrupBarCallerSession) DOMAINTYPEHASH

func (_SyrupBar *SyrupBarCallerSession) DOMAINTYPEHASH() ([32]byte, error)

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

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*SyrupBarCallerSession) Decimals

func (_SyrupBar *SyrupBarCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*SyrupBarCallerSession) Delegates

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) GetCurrentVotes

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) GetOwner

func (_SyrupBar *SyrupBarCallerSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*SyrupBarCallerSession) GetPriorVotes

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) Name

func (_SyrupBar *SyrupBarCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*SyrupBarCallerSession) Nonces

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) NumCheckpoints

func (_SyrupBar *SyrupBarCallerSession) 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 (*SyrupBarCallerSession) Owner

func (_SyrupBar *SyrupBarCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SyrupBarCallerSession) Symbol

func (_SyrupBar *SyrupBarCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*SyrupBarCallerSession) TotalSupply

func (_SyrupBar *SyrupBarCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type SyrupBarDelegateChanged

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

SyrupBarDelegateChanged represents a DelegateChanged event raised by the SyrupBar contract.

type SyrupBarDelegateChangedIterator

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

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

func (*SyrupBarDelegateChangedIterator) Close

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

func (*SyrupBarDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SyrupBarDelegateChangedIterator) 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 SyrupBarDelegateVotesChanged

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

SyrupBarDelegateVotesChanged represents a DelegateVotesChanged event raised by the SyrupBar contract.

type SyrupBarDelegateVotesChangedIterator

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

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

func (*SyrupBarDelegateVotesChangedIterator) Close

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

func (*SyrupBarDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SyrupBarDelegateVotesChangedIterator) 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 SyrupBarFilterer

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

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

func NewSyrupBarFilterer

func NewSyrupBarFilterer(address common.Address, filterer bind.ContractFilterer) (*SyrupBarFilterer, error)

NewSyrupBarFilterer creates a new log filterer instance of SyrupBar, bound to a specific deployed contract.

func (*SyrupBarFilterer) FilterApproval

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

func (_SyrupBar *SyrupBarFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*SyrupBarDelegateChangedIterator, 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 (*SyrupBarFilterer) FilterDelegateVotesChanged

func (_SyrupBar *SyrupBarFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*SyrupBarDelegateVotesChangedIterator, error)

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

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

func (*SyrupBarFilterer) FilterOwnershipTransferred

func (_SyrupBar *SyrupBarFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SyrupBarOwnershipTransferredIterator, error)

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

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

func (*SyrupBarFilterer) FilterTransfer

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

func (_SyrupBar *SyrupBarFilterer) ParseApproval(log types.Log) (*SyrupBarApproval, error)

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

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

func (*SyrupBarFilterer) ParseDelegateChanged

func (_SyrupBar *SyrupBarFilterer) ParseDelegateChanged(log types.Log) (*SyrupBarDelegateChanged, 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 (*SyrupBarFilterer) ParseDelegateVotesChanged

func (_SyrupBar *SyrupBarFilterer) ParseDelegateVotesChanged(log types.Log) (*SyrupBarDelegateVotesChanged, error)

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

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

func (*SyrupBarFilterer) ParseOwnershipTransferred

func (_SyrupBar *SyrupBarFilterer) ParseOwnershipTransferred(log types.Log) (*SyrupBarOwnershipTransferred, error)

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

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

func (*SyrupBarFilterer) ParseTransfer

func (_SyrupBar *SyrupBarFilterer) ParseTransfer(log types.Log) (*SyrupBarTransfer, error)

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

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

func (*SyrupBarFilterer) WatchApproval

func (_SyrupBar *SyrupBarFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SyrupBarApproval, 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 (*SyrupBarFilterer) WatchDelegateChanged

func (_SyrupBar *SyrupBarFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *SyrupBarDelegateChanged, 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 (*SyrupBarFilterer) WatchDelegateVotesChanged

func (_SyrupBar *SyrupBarFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *SyrupBarDelegateVotesChanged, 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 (*SyrupBarFilterer) WatchOwnershipTransferred

func (_SyrupBar *SyrupBarFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SyrupBarOwnershipTransferred, 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 (*SyrupBarFilterer) WatchTransfer

func (_SyrupBar *SyrupBarFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SyrupBarTransfer, 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 SyrupBarOwnershipTransferred

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

SyrupBarOwnershipTransferred represents a OwnershipTransferred event raised by the SyrupBar contract.

type SyrupBarOwnershipTransferredIterator

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

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

func (*SyrupBarOwnershipTransferredIterator) Close

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

func (*SyrupBarOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SyrupBarOwnershipTransferredIterator) 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 SyrupBarRaw

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

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

func (*SyrupBarRaw) Call

func (_SyrupBar *SyrupBarRaw) 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 (*SyrupBarRaw) Transact

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

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

func (*SyrupBarRaw) Transfer

func (_SyrupBar *SyrupBarRaw) 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 SyrupBarSession

type SyrupBarSession struct {
	Contract     *SyrupBar         // 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
}

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

func (*SyrupBarSession) Allowance

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Approve

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) BalanceOf

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Burn

func (_SyrupBar *SyrupBarSession) Burn(_from common.Address, _amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

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

func (*SyrupBarSession) Cake

func (_SyrupBar *SyrupBarSession) Cake() (common.Address, error)

Cake is a free data retrieval call binding the contract method 0xdce17484.

Solidity: function cake() view returns(address)

func (*SyrupBarSession) Checkpoints

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) DELEGATIONTYPEHASH

func (_SyrupBar *SyrupBarSession) DELEGATIONTYPEHASH() ([32]byte, error)

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

Solidity: function DELEGATION_TYPEHASH() view returns(bytes32)

func (*SyrupBarSession) DOMAINTYPEHASH

func (_SyrupBar *SyrupBarSession) DOMAINTYPEHASH() ([32]byte, error)

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

Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)

func (*SyrupBarSession) Decimals

func (_SyrupBar *SyrupBarSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*SyrupBarSession) DecreaseAllowance

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Delegate

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) DelegateBySig

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Delegates

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) GetCurrentVotes

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) GetOwner

func (_SyrupBar *SyrupBarSession) GetOwner() (common.Address, error)

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

Solidity: function getOwner() view returns(address)

func (*SyrupBarSession) GetPriorVotes

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) IncreaseAllowance

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Mint

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Mint0

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Name

func (_SyrupBar *SyrupBarSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*SyrupBarSession) Nonces

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) NumCheckpoints

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) Owner

func (_SyrupBar *SyrupBarSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SyrupBarSession) RenounceOwnership

func (_SyrupBar *SyrupBarSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SyrupBarSession) SafeCakeTransfer

func (_SyrupBar *SyrupBarSession) SafeCakeTransfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)

SafeCakeTransfer is a paid mutator transaction binding the contract method 0xa2e6ddcc.

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

func (*SyrupBarSession) Symbol

func (_SyrupBar *SyrupBarSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*SyrupBarSession) TotalSupply

func (_SyrupBar *SyrupBarSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*SyrupBarSession) Transfer

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) TransferFrom

func (_SyrupBar *SyrupBarSession) 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 (*SyrupBarSession) TransferOwnership

func (_SyrupBar *SyrupBarSession) 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 SyrupBarTransactor

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

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

func NewSyrupBarTransactor

func NewSyrupBarTransactor(address common.Address, transactor bind.ContractTransactor) (*SyrupBarTransactor, error)

NewSyrupBarTransactor creates a new write-only instance of SyrupBar, bound to a specific deployed contract.

func (*SyrupBarTransactor) Approve

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) Burn

func (_SyrupBar *SyrupBarTransactor) Burn(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

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

func (*SyrupBarTransactor) DecreaseAllowance

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) Delegate

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) DelegateBySig

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) IncreaseAllowance

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) Mint

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) Mint0

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) RenounceOwnership

func (_SyrupBar *SyrupBarTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SyrupBarTransactor) SafeCakeTransfer

func (_SyrupBar *SyrupBarTransactor) SafeCakeTransfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

SafeCakeTransfer is a paid mutator transaction binding the contract method 0xa2e6ddcc.

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

func (*SyrupBarTransactor) Transfer

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) TransferFrom

func (_SyrupBar *SyrupBarTransactor) 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 (*SyrupBarTransactor) TransferOwnership

func (_SyrupBar *SyrupBarTransactor) 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 SyrupBarTransactorRaw

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

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

func (*SyrupBarTransactorRaw) Transact

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

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

func (*SyrupBarTransactorRaw) Transfer

func (_SyrupBar *SyrupBarTransactorRaw) 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 SyrupBarTransactorSession

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

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

func (*SyrupBarTransactorSession) Approve

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) Burn

func (_SyrupBar *SyrupBarTransactorSession) Burn(_from common.Address, _amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

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

func (*SyrupBarTransactorSession) DecreaseAllowance

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) Delegate

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) DelegateBySig

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) IncreaseAllowance

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) Mint

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) Mint0

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) RenounceOwnership

func (_SyrupBar *SyrupBarTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*SyrupBarTransactorSession) SafeCakeTransfer

func (_SyrupBar *SyrupBarTransactorSession) SafeCakeTransfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)

SafeCakeTransfer is a paid mutator transaction binding the contract method 0xa2e6ddcc.

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

func (*SyrupBarTransactorSession) Transfer

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) TransferFrom

func (_SyrupBar *SyrupBarTransactorSession) 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 (*SyrupBarTransactorSession) TransferOwnership

func (_SyrupBar *SyrupBarTransactorSession) 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 SyrupBarTransfer

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

SyrupBarTransfer represents a Transfer event raised by the SyrupBar contract.

type SyrupBarTransferIterator

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

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

func (*SyrupBarTransferIterator) Close

func (it *SyrupBarTransferIterator) Close() error

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

func (*SyrupBarTransferIterator) Error

func (it *SyrupBarTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SyrupBarTransferIterator) Next

func (it *SyrupBarTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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