axialMasterChef

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AxialMasterChefABI = AxialMasterChefMetaData.ABI

AxialMasterChefABI is the input ABI used to generate the binding from. Deprecated: Use AxialMasterChefMetaData.ABI instead.

View Source
var AxialMasterChefMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"axialPerSec\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"pendingTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingAxial\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"bonusTokenAddress\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"bonusTokenSymbol\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"pendingBonusToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"accAxialPerShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewarder\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pools\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AxialMasterChefMetaData contains all meta data concerning the AxialMasterChef contract.

Functions

This section is empty.

Types

type AxialMasterChef

type AxialMasterChef struct {
	AxialMasterChefCaller     // Read-only binding to the contract
	AxialMasterChefTransactor // Write-only binding to the contract
	AxialMasterChefFilterer   // Log filterer for contract events
}

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

func NewAxialMasterChef

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

NewAxialMasterChef creates a new instance of AxialMasterChef, bound to a specific deployed contract.

type AxialMasterChefCaller

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

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

func NewAxialMasterChefCaller

func NewAxialMasterChefCaller(address common.Address, caller bind.ContractCaller) (*AxialMasterChefCaller, error)

NewAxialMasterChefCaller creates a new read-only instance of AxialMasterChef, bound to a specific deployed contract.

func (*AxialMasterChefCaller) AxialPerSec

func (_AxialMasterChef *AxialMasterChefCaller) AxialPerSec(opts *bind.CallOpts) (*big.Int, error)

AxialPerSec is a free data retrieval call binding the contract method 0x194ed6af.

Solidity: function axialPerSec() view returns(uint256 amount)

func (*AxialMasterChefCaller) PendingTokens

func (_AxialMasterChef *AxialMasterChefCaller) PendingTokens(opts *bind.CallOpts, pid *big.Int, user common.Address) (struct {
	PendingAxial      *big.Int
	BonusTokenAddress common.Address
	BonusTokenSymbol  string
	PendingBonusToken *big.Int
}, error)

PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.

Solidity: function pendingTokens(uint256 pid, address user) view returns(uint256 pendingAxial, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)

func (*AxialMasterChefCaller) PoolInfo

func (_AxialMasterChef *AxialMasterChefCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct {
	LpToken             common.Address
	AccAxialPerShare    *big.Int
	LastRewardTimestamp *big.Int
	AllocPoint          *big.Int
	Rewarder            common.Address
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 accAxialPerShare, uint256 lastRewardTimestamp, uint256 allocPoint, address rewarder)

func (*AxialMasterChefCaller) PoolLength

func (_AxialMasterChef *AxialMasterChefCaller) 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 pools)

func (*AxialMasterChefCaller) TotalAllocPoint

func (_AxialMasterChef *AxialMasterChefCaller) 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 (*AxialMasterChefCaller) UserInfo

func (_AxialMasterChef *AxialMasterChefCaller) 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 AxialMasterChefCallerRaw

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

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

func (*AxialMasterChefCallerRaw) Call

func (_AxialMasterChef *AxialMasterChefCallerRaw) 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 AxialMasterChefCallerSession

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

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

func (*AxialMasterChefCallerSession) AxialPerSec

func (_AxialMasterChef *AxialMasterChefCallerSession) AxialPerSec() (*big.Int, error)

AxialPerSec is a free data retrieval call binding the contract method 0x194ed6af.

Solidity: function axialPerSec() view returns(uint256 amount)

func (*AxialMasterChefCallerSession) PendingTokens

func (_AxialMasterChef *AxialMasterChefCallerSession) PendingTokens(pid *big.Int, user common.Address) (struct {
	PendingAxial      *big.Int
	BonusTokenAddress common.Address
	BonusTokenSymbol  string
	PendingBonusToken *big.Int
}, error)

PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.

Solidity: function pendingTokens(uint256 pid, address user) view returns(uint256 pendingAxial, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)

func (*AxialMasterChefCallerSession) PoolInfo

func (_AxialMasterChef *AxialMasterChefCallerSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken             common.Address
	AccAxialPerShare    *big.Int
	LastRewardTimestamp *big.Int
	AllocPoint          *big.Int
	Rewarder            common.Address
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 accAxialPerShare, uint256 lastRewardTimestamp, uint256 allocPoint, address rewarder)

func (*AxialMasterChefCallerSession) PoolLength

func (_AxialMasterChef *AxialMasterChefCallerSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256 pools)

func (*AxialMasterChefCallerSession) TotalAllocPoint

func (_AxialMasterChef *AxialMasterChefCallerSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*AxialMasterChefCallerSession) UserInfo

func (_AxialMasterChef *AxialMasterChefCallerSession) 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 AxialMasterChefFilterer

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

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

func NewAxialMasterChefFilterer

func NewAxialMasterChefFilterer(address common.Address, filterer bind.ContractFilterer) (*AxialMasterChefFilterer, error)

NewAxialMasterChefFilterer creates a new log filterer instance of AxialMasterChef, bound to a specific deployed contract.

type AxialMasterChefRaw

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

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

func (*AxialMasterChefRaw) Call

func (_AxialMasterChef *AxialMasterChefRaw) 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 (*AxialMasterChefRaw) Transact

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

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

func (*AxialMasterChefRaw) Transfer

func (_AxialMasterChef *AxialMasterChefRaw) 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 AxialMasterChefSession

type AxialMasterChefSession struct {
	Contract     *AxialMasterChef  // 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
}

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

func (*AxialMasterChefSession) AxialPerSec

func (_AxialMasterChef *AxialMasterChefSession) AxialPerSec() (*big.Int, error)

AxialPerSec is a free data retrieval call binding the contract method 0x194ed6af.

Solidity: function axialPerSec() view returns(uint256 amount)

func (*AxialMasterChefSession) Deposit

func (_AxialMasterChef *AxialMasterChefSession) 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 (*AxialMasterChefSession) PendingTokens

func (_AxialMasterChef *AxialMasterChefSession) PendingTokens(pid *big.Int, user common.Address) (struct {
	PendingAxial      *big.Int
	BonusTokenAddress common.Address
	BonusTokenSymbol  string
	PendingBonusToken *big.Int
}, error)

PendingTokens is a free data retrieval call binding the contract method 0xffcd4263.

Solidity: function pendingTokens(uint256 pid, address user) view returns(uint256 pendingAxial, address bonusTokenAddress, string bonusTokenSymbol, uint256 pendingBonusToken)

func (*AxialMasterChefSession) PoolInfo

func (_AxialMasterChef *AxialMasterChefSession) PoolInfo(arg0 *big.Int) (struct {
	LpToken             common.Address
	AccAxialPerShare    *big.Int
	LastRewardTimestamp *big.Int
	AllocPoint          *big.Int
	Rewarder            common.Address
}, error)

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

Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 accAxialPerShare, uint256 lastRewardTimestamp, uint256 allocPoint, address rewarder)

func (*AxialMasterChefSession) PoolLength

func (_AxialMasterChef *AxialMasterChefSession) PoolLength() (*big.Int, error)

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

Solidity: function poolLength() view returns(uint256 pools)

func (*AxialMasterChefSession) TotalAllocPoint

func (_AxialMasterChef *AxialMasterChefSession) TotalAllocPoint() (*big.Int, error)

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

Solidity: function totalAllocPoint() view returns(uint256)

func (*AxialMasterChefSession) UserInfo

func (_AxialMasterChef *AxialMasterChefSession) 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 (*AxialMasterChefSession) Withdraw

func (_AxialMasterChef *AxialMasterChefSession) 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 AxialMasterChefTransactor

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

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

func NewAxialMasterChefTransactor

func NewAxialMasterChefTransactor(address common.Address, transactor bind.ContractTransactor) (*AxialMasterChefTransactor, error)

NewAxialMasterChefTransactor creates a new write-only instance of AxialMasterChef, bound to a specific deployed contract.

func (*AxialMasterChefTransactor) Deposit

func (_AxialMasterChef *AxialMasterChefTransactor) 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 (*AxialMasterChefTransactor) Withdraw

func (_AxialMasterChef *AxialMasterChefTransactor) 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 AxialMasterChefTransactorRaw

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

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

func (*AxialMasterChefTransactorRaw) Transact

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

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

func (*AxialMasterChefTransactorRaw) Transfer

func (_AxialMasterChef *AxialMasterChefTransactorRaw) 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 AxialMasterChefTransactorSession

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

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

func (*AxialMasterChefTransactorSession) Deposit

func (_AxialMasterChef *AxialMasterChefTransactorSession) 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 (*AxialMasterChefTransactorSession) Withdraw

func (_AxialMasterChef *AxialMasterChefTransactorSession) 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()

Jump to

Keyboard shortcuts

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