sousChef

package
Version: v1.65.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AddressABI = "[]"

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

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

IBEP20ABI 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 SousChefABI = "" /* 3759-byte string literal not displayed */

SousChefABI 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 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 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 SousChefBin = "" /* 7578-byte string literal not displayed */

SousChefBin is the compiled bytecode used for deploying new contracts.

View Source
var SousChefFuncSigs = map[string]string{
	"dc881888": "addressLength()",
	"b810fb43": "addressList(uint256)",
	"1aed6553": "bonusEndBlock()",
	"b6b55f25": "deposit(uint256)",
	"db2e21bc": "emergencyWithdraw()",
	"f40f0f52": "pendingReward(address)",
	"5a2f3d09": "poolInfo()",
	"8ae39cac": "rewardPerBlock()",
	"48cd4cb1": "startBlock()",
	"86a952c4": "syrup()",
	"e3161ddd": "updatePool()",
	"1959a002": "userInfo(address)",
	"2e1a7d4d": "withdraw(uint256)",
}

SousChefFuncSigs 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 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 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 SousChef

type SousChef struct {
	SousChefCaller     // Read-only binding to the contract
	SousChefTransactor // Write-only binding to the contract
	SousChefFilterer   // Log filterer for contract events
}

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

func DeploySousChef

func DeploySousChef(auth *bind.TransactOpts, backend bind.ContractBackend, _syrup common.Address, _rewardPerBlock *big.Int, _startBlock *big.Int, _endBlock *big.Int) (common.Address, *types.Transaction, *SousChef, error)

DeploySousChef deploys a new Ethereum contract, binding an instance of SousChef to it.

func NewSousChef

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

NewSousChef creates a new instance of SousChef, bound to a specific deployed contract.

type SousChefCaller

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

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

func NewSousChefCaller

func NewSousChefCaller(address common.Address, caller bind.ContractCaller) (*SousChefCaller, error)

NewSousChefCaller creates a new read-only instance of SousChef, bound to a specific deployed contract.

func (*SousChefCaller) AddressLength

func (_SousChef *SousChefCaller) AddressLength(opts *bind.CallOpts) (*big.Int, error)

AddressLength is a free data retrieval call binding the contract method 0xdc881888.

Solidity: function addressLength() view returns(uint256)

func (*SousChefCaller) AddressList

func (_SousChef *SousChefCaller) AddressList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AddressList is a free data retrieval call binding the contract method 0xb810fb43.

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

func (*SousChefCaller) BonusEndBlock

func (_SousChef *SousChefCaller) BonusEndBlock(opts *bind.CallOpts) (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SousChefCaller) PendingReward

func (_SousChef *SousChefCaller) PendingReward(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xf40f0f52.

Solidity: function pendingReward(address _user) view returns(uint256)

func (*SousChefCaller) PoolInfo

func (_SousChef *SousChefCaller) PoolInfo(opts *bind.CallOpts) (struct {
	LastRewardBlock   *big.Int
	AccRewardPerShare *big.Int
}, error)

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

Solidity: function poolInfo() view returns(uint256 lastRewardBlock, uint256 accRewardPerShare)

func (*SousChefCaller) RewardPerBlock

func (_SousChef *SousChefCaller) RewardPerBlock(opts *bind.CallOpts) (*big.Int, error)

RewardPerBlock is a free data retrieval call binding the contract method 0x8ae39cac.

Solidity: function rewardPerBlock() view returns(uint256)

func (*SousChefCaller) StartBlock

func (_SousChef *SousChefCaller) 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 (*SousChefCaller) Syrup

func (_SousChef *SousChefCaller) 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 (*SousChefCaller) UserInfo

func (_SousChef *SousChefCaller) UserInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Amount        *big.Int
	RewardDebt    *big.Int
	RewardPending *big.Int
}, error)

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

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

type SousChefCallerRaw

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

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

func (*SousChefCallerRaw) Call

func (_SousChef *SousChefCallerRaw) 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 SousChefCallerSession

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

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

func (*SousChefCallerSession) AddressLength

func (_SousChef *SousChefCallerSession) AddressLength() (*big.Int, error)

AddressLength is a free data retrieval call binding the contract method 0xdc881888.

Solidity: function addressLength() view returns(uint256)

func (*SousChefCallerSession) AddressList

func (_SousChef *SousChefCallerSession) AddressList(arg0 *big.Int) (common.Address, error)

AddressList is a free data retrieval call binding the contract method 0xb810fb43.

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

func (*SousChefCallerSession) BonusEndBlock

func (_SousChef *SousChefCallerSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SousChefCallerSession) PendingReward

func (_SousChef *SousChefCallerSession) PendingReward(_user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xf40f0f52.

Solidity: function pendingReward(address _user) view returns(uint256)

func (*SousChefCallerSession) PoolInfo

func (_SousChef *SousChefCallerSession) PoolInfo() (struct {
	LastRewardBlock   *big.Int
	AccRewardPerShare *big.Int
}, error)

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

Solidity: function poolInfo() view returns(uint256 lastRewardBlock, uint256 accRewardPerShare)

func (*SousChefCallerSession) RewardPerBlock

func (_SousChef *SousChefCallerSession) RewardPerBlock() (*big.Int, error)

RewardPerBlock is a free data retrieval call binding the contract method 0x8ae39cac.

Solidity: function rewardPerBlock() view returns(uint256)

func (*SousChefCallerSession) StartBlock

func (_SousChef *SousChefCallerSession) StartBlock() (*big.Int, error)

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

Solidity: function startBlock() view returns(uint256)

func (*SousChefCallerSession) Syrup

func (_SousChef *SousChefCallerSession) Syrup() (common.Address, error)

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

Solidity: function syrup() view returns(address)

func (*SousChefCallerSession) UserInfo

func (_SousChef *SousChefCallerSession) UserInfo(arg0 common.Address) (struct {
	Amount        *big.Int
	RewardDebt    *big.Int
	RewardPending *big.Int
}, error)

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

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

type SousChefDeposit

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

SousChefDeposit represents a Deposit event raised by the SousChef contract.

type SousChefDepositIterator

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

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

func (*SousChefDepositIterator) Close

func (it *SousChefDepositIterator) Close() error

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

func (*SousChefDepositIterator) Error

func (it *SousChefDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SousChefDepositIterator) Next

func (it *SousChefDepositIterator) 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 SousChefEmergencyWithdraw

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

SousChefEmergencyWithdraw represents a EmergencyWithdraw event raised by the SousChef contract.

type SousChefEmergencyWithdrawIterator

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

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

func (*SousChefEmergencyWithdrawIterator) Close

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

func (*SousChefEmergencyWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SousChefEmergencyWithdrawIterator) 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 SousChefFilterer

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

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

func NewSousChefFilterer

func NewSousChefFilterer(address common.Address, filterer bind.ContractFilterer) (*SousChefFilterer, error)

NewSousChefFilterer creates a new log filterer instance of SousChef, bound to a specific deployed contract.

func (*SousChefFilterer) FilterDeposit

func (_SousChef *SousChefFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address) (*SousChefDepositIterator, error)

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

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

func (*SousChefFilterer) FilterEmergencyWithdraw

func (_SousChef *SousChefFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address) (*SousChefEmergencyWithdrawIterator, error)

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

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

func (*SousChefFilterer) FilterWithdraw

func (_SousChef *SousChefFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address) (*SousChefWithdrawIterator, error)

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

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

func (*SousChefFilterer) ParseDeposit

func (_SousChef *SousChefFilterer) ParseDeposit(log types.Log) (*SousChefDeposit, error)

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

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

func (*SousChefFilterer) ParseEmergencyWithdraw

func (_SousChef *SousChefFilterer) ParseEmergencyWithdraw(log types.Log) (*SousChefEmergencyWithdraw, error)

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

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

func (*SousChefFilterer) ParseWithdraw

func (_SousChef *SousChefFilterer) ParseWithdraw(log types.Log) (*SousChefWithdraw, error)

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

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

func (*SousChefFilterer) WatchDeposit

func (_SousChef *SousChefFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SousChefDeposit, user []common.Address) (event.Subscription, error)

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

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

func (*SousChefFilterer) WatchEmergencyWithdraw

func (_SousChef *SousChefFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *SousChefEmergencyWithdraw, user []common.Address) (event.Subscription, error)

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

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

func (*SousChefFilterer) WatchWithdraw

func (_SousChef *SousChefFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SousChefWithdraw, user []common.Address) (event.Subscription, error)

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

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

type SousChefRaw

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

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

func (*SousChefRaw) Call

func (_SousChef *SousChefRaw) 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 (*SousChefRaw) Transact

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

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

func (*SousChefRaw) Transfer

func (_SousChef *SousChefRaw) 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 SousChefSession

type SousChefSession struct {
	Contract     *SousChef         // 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
}

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

func (*SousChefSession) AddressLength

func (_SousChef *SousChefSession) AddressLength() (*big.Int, error)

AddressLength is a free data retrieval call binding the contract method 0xdc881888.

Solidity: function addressLength() view returns(uint256)

func (*SousChefSession) AddressList

func (_SousChef *SousChefSession) AddressList(arg0 *big.Int) (common.Address, error)

AddressList is a free data retrieval call binding the contract method 0xb810fb43.

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

func (*SousChefSession) BonusEndBlock

func (_SousChef *SousChefSession) BonusEndBlock() (*big.Int, error)

BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.

Solidity: function bonusEndBlock() view returns(uint256)

func (*SousChefSession) Deposit

func (_SousChef *SousChefSession) Deposit(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _amount) returns()

func (*SousChefSession) EmergencyWithdraw

func (_SousChef *SousChefSession) EmergencyWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyWithdraw() returns()

func (*SousChefSession) PendingReward

func (_SousChef *SousChefSession) PendingReward(_user common.Address) (*big.Int, error)

PendingReward is a free data retrieval call binding the contract method 0xf40f0f52.

Solidity: function pendingReward(address _user) view returns(uint256)

func (*SousChefSession) PoolInfo

func (_SousChef *SousChefSession) PoolInfo() (struct {
	LastRewardBlock   *big.Int
	AccRewardPerShare *big.Int
}, error)

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

Solidity: function poolInfo() view returns(uint256 lastRewardBlock, uint256 accRewardPerShare)

func (*SousChefSession) RewardPerBlock

func (_SousChef *SousChefSession) RewardPerBlock() (*big.Int, error)

RewardPerBlock is a free data retrieval call binding the contract method 0x8ae39cac.

Solidity: function rewardPerBlock() view returns(uint256)

func (*SousChefSession) StartBlock

func (_SousChef *SousChefSession) StartBlock() (*big.Int, error)

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

Solidity: function startBlock() view returns(uint256)

func (*SousChefSession) Syrup

func (_SousChef *SousChefSession) Syrup() (common.Address, error)

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

Solidity: function syrup() view returns(address)

func (*SousChefSession) UpdatePool

func (_SousChef *SousChefSession) UpdatePool() (*types.Transaction, error)

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

Solidity: function updatePool() returns()

func (*SousChefSession) UserInfo

func (_SousChef *SousChefSession) UserInfo(arg0 common.Address) (struct {
	Amount        *big.Int
	RewardDebt    *big.Int
	RewardPending *big.Int
}, error)

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

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

func (*SousChefSession) Withdraw

func (_SousChef *SousChefSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type SousChefTransactor

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

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

func NewSousChefTransactor

func NewSousChefTransactor(address common.Address, transactor bind.ContractTransactor) (*SousChefTransactor, error)

NewSousChefTransactor creates a new write-only instance of SousChef, bound to a specific deployed contract.

func (*SousChefTransactor) Deposit

func (_SousChef *SousChefTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _amount) returns()

func (*SousChefTransactor) EmergencyWithdraw

func (_SousChef *SousChefTransactor) EmergencyWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function emergencyWithdraw() returns()

func (*SousChefTransactor) UpdatePool

func (_SousChef *SousChefTransactor) UpdatePool(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function updatePool() returns()

func (*SousChefTransactor) Withdraw

func (_SousChef *SousChefTransactor) Withdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type SousChefTransactorRaw

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

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

func (*SousChefTransactorRaw) Transact

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

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

func (*SousChefTransactorRaw) Transfer

func (_SousChef *SousChefTransactorRaw) 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 SousChefTransactorSession

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

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

func (*SousChefTransactorSession) Deposit

func (_SousChef *SousChefTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint256 _amount) returns()

func (*SousChefTransactorSession) EmergencyWithdraw

func (_SousChef *SousChefTransactorSession) EmergencyWithdraw() (*types.Transaction, error)

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

Solidity: function emergencyWithdraw() returns()

func (*SousChefTransactorSession) UpdatePool

func (_SousChef *SousChefTransactorSession) UpdatePool() (*types.Transaction, error)

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

Solidity: function updatePool() returns()

func (*SousChefTransactorSession) Withdraw

func (_SousChef *SousChefTransactorSession) Withdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function withdraw(uint256 _amount) returns()

type SousChefWithdraw

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

SousChefWithdraw represents a Withdraw event raised by the SousChef contract.

type SousChefWithdrawIterator

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

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

func (*SousChefWithdrawIterator) Close

func (it *SousChefWithdrawIterator) Close() error

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

func (*SousChefWithdrawIterator) Error

func (it *SousChefWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SousChefWithdrawIterator) Next

func (it *SousChefWithdrawIterator) 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.

Source Files

Jump to

Keyboard shortcuts

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