loxodrome

package
v0.0.0-...-f187f9f Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MinterV2ABI = MinterV2MetaData.ABI

MinterV2ABI is the input ABI used to generate the binding from. Deprecated: Use MinterV2MetaData.ABI instead.

View Source
var MinterV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"__voter\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"__ve\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"__rewards_distributor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"__NFTstakers_rewards\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weekly\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"circulating_supply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"circulating_emission\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"MAX_TEAM_RATE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_Loxo\",\"outputs\":[{\"internalType\":\"contractILoxo\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_NFTstakers_rewards\",\"outputs\":[{\"internalType\":\"contractIMasterchef\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_rewards_distributor\",\"outputs\":[{\"internalType\":\"contractIRewardsDistributor\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_ve\",\"outputs\":[{\"internalType\":\"contractIVotingEscrow\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_voter\",\"outputs\":[{\"internalType\":\"contractIVoter\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptTeam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"active_period\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_weeklyMint\",\"type\":\"uint256\"}],\"name\":\"calculate_NFT_Staker_Reward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculate_emission\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_weeklyMint\",\"type\":\"uint256\"}],\"name\":\"calculate_rebase\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"check\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"circulating_emission\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"circulating_supply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"claimants\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isFirstMint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingTeam\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"period\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_emission\",\"type\":\"uint256\"}],\"name\":\"setEmission\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_NFTStakersReward\",\"type\":\"uint256\"}],\"name\":\"setNFTStaker\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"__NFTstakers\",\"type\":\"address\"}],\"name\":\"setNFTstakers\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rebase\",\"type\":\"uint256\"}],\"name\":\"setRebase\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_team\",\"type\":\"address\"}],\"name\":\"setTeam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_teamRate\",\"type\":\"uint256\"}],\"name\":\"setTeamRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"__voter\",\"type\":\"address\"}],\"name\":\"setVoter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"team\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"teamRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"update_period\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weekly\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"weekly_emission\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

MinterV2MetaData contains all meta data concerning the MinterV2 contract.

Functions

This section is empty.

Types

type MinterV2

type MinterV2 struct {
	MinterV2Caller     // Read-only binding to the contract
	MinterV2Transactor // Write-only binding to the contract
	MinterV2Filterer   // Log filterer for contract events
}

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

func NewMinterV2

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

NewMinterV2 creates a new instance of MinterV2, bound to a specific deployed contract.

type MinterV2Caller

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

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

func NewMinterV2Caller

func NewMinterV2Caller(address common.Address, caller bind.ContractCaller) (*MinterV2Caller, error)

NewMinterV2Caller creates a new read-only instance of MinterV2, bound to a specific deployed contract.

func (*MinterV2Caller) ActivePeriod

func (_MinterV2 *MinterV2Caller) ActivePeriod(opts *bind.CallOpts) (*big.Int, error)

ActivePeriod is a free data retrieval call binding the contract method 0xd1399608.

Solidity: function active_period() view returns(uint256)

func (*MinterV2Caller) CalculateEmission

func (_MinterV2 *MinterV2Caller) CalculateEmission(opts *bind.CallOpts) (*big.Int, error)

CalculateEmission is a free data retrieval call binding the contract method 0x36d96faf.

Solidity: function calculate_emission() view returns(uint256)

func (*MinterV2Caller) CalculateNFTStakerReward

func (_MinterV2 *MinterV2Caller) CalculateNFTStakerReward(opts *bind.CallOpts, _weeklyMint *big.Int) (*big.Int, error)

CalculateNFTStakerReward is a free data retrieval call binding the contract method 0xa6e46d98.

Solidity: function calculate_NFT_Staker_Reward(uint256 _weeklyMint) view returns(uint256)

func (*MinterV2Caller) CalculateRebase

func (_MinterV2 *MinterV2Caller) CalculateRebase(opts *bind.CallOpts, _weeklyMint *big.Int) (*big.Int, error)

CalculateRebase is a free data retrieval call binding the contract method 0xa129cfbf.

Solidity: function calculate_rebase(uint256 _weeklyMint) view returns(uint256)

func (*MinterV2Caller) Check

func (_MinterV2 *MinterV2Caller) Check(opts *bind.CallOpts) (bool, error)

Check is a free data retrieval call binding the contract method 0x919840ad.

Solidity: function check() view returns(bool)

func (*MinterV2Caller) CirculatingEmission

func (_MinterV2 *MinterV2Caller) CirculatingEmission(opts *bind.CallOpts) (*big.Int, error)

CirculatingEmission is a free data retrieval call binding the contract method 0x1eebae80.

Solidity: function circulating_emission() view returns(uint256)

func (*MinterV2Caller) CirculatingSupply

func (_MinterV2 *MinterV2Caller) CirculatingSupply(opts *bind.CallOpts) (*big.Int, error)

CirculatingSupply is a free data retrieval call binding the contract method 0xe038c75a.

Solidity: function circulating_supply() view returns(uint256)

func (*MinterV2Caller) IsFirstMint

func (_MinterV2 *MinterV2Caller) IsFirstMint(opts *bind.CallOpts) (bool, error)

IsFirstMint is a free data retrieval call binding the contract method 0xa9abf7ec.

Solidity: function isFirstMint() view returns(bool)

func (*MinterV2Caller) Loxo

func (_MinterV2 *MinterV2Caller) Loxo(opts *bind.CallOpts) (common.Address, error)

Loxo is a free data retrieval call binding the contract method 0x33b875b2.

Solidity: function _Loxo() view returns(address)

func (*MinterV2Caller) MAXTEAMRATE

func (_MinterV2 *MinterV2Caller) MAXTEAMRATE(opts *bind.CallOpts) (*big.Int, error)

MAXTEAMRATE is a free data retrieval call binding the contract method 0x01c8e6fd.

Solidity: function MAX_TEAM_RATE() view returns(uint256)

func (*MinterV2Caller) NFTstakersRewards

func (_MinterV2 *MinterV2Caller) NFTstakersRewards(opts *bind.CallOpts) (common.Address, error)

NFTstakersRewards is a free data retrieval call binding the contract method 0x4718d877.

Solidity: function _NFTstakers_rewards() view returns(address)

func (*MinterV2Caller) PendingTeam

func (_MinterV2 *MinterV2Caller) PendingTeam(opts *bind.CallOpts) (common.Address, error)

PendingTeam is a free data retrieval call binding the contract method 0x59d46ffc.

Solidity: function pendingTeam() view returns(address)

func (*MinterV2Caller) Period

func (_MinterV2 *MinterV2Caller) Period(opts *bind.CallOpts) (*big.Int, error)

Period is a free data retrieval call binding the contract method 0xef78d4fd.

Solidity: function period() view returns(uint256)

func (*MinterV2Caller) RewardsDistributor

func (_MinterV2 *MinterV2Caller) RewardsDistributor(opts *bind.CallOpts) (common.Address, error)

RewardsDistributor is a free data retrieval call binding the contract method 0x4b1cd5da.

Solidity: function _rewards_distributor() view returns(address)

func (*MinterV2Caller) Team

func (_MinterV2 *MinterV2Caller) Team(opts *bind.CallOpts) (common.Address, error)

Team is a free data retrieval call binding the contract method 0x85f2aef2.

Solidity: function team() view returns(address)

func (*MinterV2Caller) TeamRate

func (_MinterV2 *MinterV2Caller) TeamRate(opts *bind.CallOpts) (*big.Int, error)

TeamRate is a free data retrieval call binding the contract method 0x78ef7f02.

Solidity: function teamRate() view returns(uint256)

func (*MinterV2Caller) Ve

func (_MinterV2 *MinterV2Caller) Ve(opts *bind.CallOpts) (common.Address, error)

Ve is a free data retrieval call binding the contract method 0x8dd598fb.

Solidity: function _ve() view returns(address)

func (*MinterV2Caller) Voter

func (_MinterV2 *MinterV2Caller) Voter(opts *bind.CallOpts) (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x3db9b42a.

Solidity: function _voter() view returns(address)

func (*MinterV2Caller) Weekly

func (_MinterV2 *MinterV2Caller) Weekly(opts *bind.CallOpts) (*big.Int, error)

Weekly is a free data retrieval call binding the contract method 0x26cfc17b.

Solidity: function weekly() view returns(uint256)

func (*MinterV2Caller) WeeklyEmission

func (_MinterV2 *MinterV2Caller) WeeklyEmission(opts *bind.CallOpts) (*big.Int, error)

WeeklyEmission is a free data retrieval call binding the contract method 0xcfc6c8ff.

Solidity: function weekly_emission() view returns(uint256)

type MinterV2CallerRaw

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

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

func (*MinterV2CallerRaw) Call

func (_MinterV2 *MinterV2CallerRaw) 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 MinterV2CallerSession

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

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

func (*MinterV2CallerSession) ActivePeriod

func (_MinterV2 *MinterV2CallerSession) ActivePeriod() (*big.Int, error)

ActivePeriod is a free data retrieval call binding the contract method 0xd1399608.

Solidity: function active_period() view returns(uint256)

func (*MinterV2CallerSession) CalculateEmission

func (_MinterV2 *MinterV2CallerSession) CalculateEmission() (*big.Int, error)

CalculateEmission is a free data retrieval call binding the contract method 0x36d96faf.

Solidity: function calculate_emission() view returns(uint256)

func (*MinterV2CallerSession) CalculateNFTStakerReward

func (_MinterV2 *MinterV2CallerSession) CalculateNFTStakerReward(_weeklyMint *big.Int) (*big.Int, error)

CalculateNFTStakerReward is a free data retrieval call binding the contract method 0xa6e46d98.

Solidity: function calculate_NFT_Staker_Reward(uint256 _weeklyMint) view returns(uint256)

func (*MinterV2CallerSession) CalculateRebase

func (_MinterV2 *MinterV2CallerSession) CalculateRebase(_weeklyMint *big.Int) (*big.Int, error)

CalculateRebase is a free data retrieval call binding the contract method 0xa129cfbf.

Solidity: function calculate_rebase(uint256 _weeklyMint) view returns(uint256)

func (*MinterV2CallerSession) Check

func (_MinterV2 *MinterV2CallerSession) Check() (bool, error)

Check is a free data retrieval call binding the contract method 0x919840ad.

Solidity: function check() view returns(bool)

func (*MinterV2CallerSession) CirculatingEmission

func (_MinterV2 *MinterV2CallerSession) CirculatingEmission() (*big.Int, error)

CirculatingEmission is a free data retrieval call binding the contract method 0x1eebae80.

Solidity: function circulating_emission() view returns(uint256)

func (*MinterV2CallerSession) CirculatingSupply

func (_MinterV2 *MinterV2CallerSession) CirculatingSupply() (*big.Int, error)

CirculatingSupply is a free data retrieval call binding the contract method 0xe038c75a.

Solidity: function circulating_supply() view returns(uint256)

func (*MinterV2CallerSession) IsFirstMint

func (_MinterV2 *MinterV2CallerSession) IsFirstMint() (bool, error)

IsFirstMint is a free data retrieval call binding the contract method 0xa9abf7ec.

Solidity: function isFirstMint() view returns(bool)

func (*MinterV2CallerSession) Loxo

func (_MinterV2 *MinterV2CallerSession) Loxo() (common.Address, error)

Loxo is a free data retrieval call binding the contract method 0x33b875b2.

Solidity: function _Loxo() view returns(address)

func (*MinterV2CallerSession) MAXTEAMRATE

func (_MinterV2 *MinterV2CallerSession) MAXTEAMRATE() (*big.Int, error)

MAXTEAMRATE is a free data retrieval call binding the contract method 0x01c8e6fd.

Solidity: function MAX_TEAM_RATE() view returns(uint256)

func (*MinterV2CallerSession) NFTstakersRewards

func (_MinterV2 *MinterV2CallerSession) NFTstakersRewards() (common.Address, error)

NFTstakersRewards is a free data retrieval call binding the contract method 0x4718d877.

Solidity: function _NFTstakers_rewards() view returns(address)

func (*MinterV2CallerSession) PendingTeam

func (_MinterV2 *MinterV2CallerSession) PendingTeam() (common.Address, error)

PendingTeam is a free data retrieval call binding the contract method 0x59d46ffc.

Solidity: function pendingTeam() view returns(address)

func (*MinterV2CallerSession) Period

func (_MinterV2 *MinterV2CallerSession) Period() (*big.Int, error)

Period is a free data retrieval call binding the contract method 0xef78d4fd.

Solidity: function period() view returns(uint256)

func (*MinterV2CallerSession) RewardsDistributor

func (_MinterV2 *MinterV2CallerSession) RewardsDistributor() (common.Address, error)

RewardsDistributor is a free data retrieval call binding the contract method 0x4b1cd5da.

Solidity: function _rewards_distributor() view returns(address)

func (*MinterV2CallerSession) Team

func (_MinterV2 *MinterV2CallerSession) Team() (common.Address, error)

Team is a free data retrieval call binding the contract method 0x85f2aef2.

Solidity: function team() view returns(address)

func (*MinterV2CallerSession) TeamRate

func (_MinterV2 *MinterV2CallerSession) TeamRate() (*big.Int, error)

TeamRate is a free data retrieval call binding the contract method 0x78ef7f02.

Solidity: function teamRate() view returns(uint256)

func (*MinterV2CallerSession) Ve

func (_MinterV2 *MinterV2CallerSession) Ve() (common.Address, error)

Ve is a free data retrieval call binding the contract method 0x8dd598fb.

Solidity: function _ve() view returns(address)

func (*MinterV2CallerSession) Voter

func (_MinterV2 *MinterV2CallerSession) Voter() (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x3db9b42a.

Solidity: function _voter() view returns(address)

func (*MinterV2CallerSession) Weekly

func (_MinterV2 *MinterV2CallerSession) Weekly() (*big.Int, error)

Weekly is a free data retrieval call binding the contract method 0x26cfc17b.

Solidity: function weekly() view returns(uint256)

func (*MinterV2CallerSession) WeeklyEmission

func (_MinterV2 *MinterV2CallerSession) WeeklyEmission() (*big.Int, error)

WeeklyEmission is a free data retrieval call binding the contract method 0xcfc6c8ff.

Solidity: function weekly_emission() view returns(uint256)

type MinterV2Filterer

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

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

func NewMinterV2Filterer

func NewMinterV2Filterer(address common.Address, filterer bind.ContractFilterer) (*MinterV2Filterer, error)

NewMinterV2Filterer creates a new log filterer instance of MinterV2, bound to a specific deployed contract.

func (*MinterV2Filterer) FilterMint

func (_MinterV2 *MinterV2Filterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*MinterV2MintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0xb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb.

Solidity: event Mint(address indexed sender, uint256 weekly, uint256 circulating_supply, uint256 circulating_emission)

func (*MinterV2Filterer) ParseMint

func (_MinterV2 *MinterV2Filterer) ParseMint(log types.Log) (*MinterV2Mint, error)

ParseMint is a log parse operation binding the contract event 0xb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb.

Solidity: event Mint(address indexed sender, uint256 weekly, uint256 circulating_supply, uint256 circulating_emission)

func (*MinterV2Filterer) WatchMint

func (_MinterV2 *MinterV2Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MinterV2Mint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0xb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb.

Solidity: event Mint(address indexed sender, uint256 weekly, uint256 circulating_supply, uint256 circulating_emission)

type MinterV2Mint

type MinterV2Mint struct {
	Sender              common.Address
	Weekly              *big.Int
	CirculatingSupply   *big.Int
	CirculatingEmission *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

MinterV2Mint represents a Mint event raised by the MinterV2 contract.

type MinterV2MintIterator

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

MinterV2MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the MinterV2 contract.

func (*MinterV2MintIterator) Close

func (it *MinterV2MintIterator) Close() error

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

func (*MinterV2MintIterator) Error

func (it *MinterV2MintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterV2MintIterator) Next

func (it *MinterV2MintIterator) 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 MinterV2Raw

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

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

func (*MinterV2Raw) Call

func (_MinterV2 *MinterV2Raw) 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 (*MinterV2Raw) Transact

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

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

func (*MinterV2Raw) Transfer

func (_MinterV2 *MinterV2Raw) 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 MinterV2Session

type MinterV2Session struct {
	Contract     *MinterV2         // 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
}

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

func (*MinterV2Session) AcceptTeam

func (_MinterV2 *MinterV2Session) AcceptTeam() (*types.Transaction, error)

AcceptTeam is a paid mutator transaction binding the contract method 0xb5cc143a.

Solidity: function acceptTeam() returns()

func (*MinterV2Session) ActivePeriod

func (_MinterV2 *MinterV2Session) ActivePeriod() (*big.Int, error)

ActivePeriod is a free data retrieval call binding the contract method 0xd1399608.

Solidity: function active_period() view returns(uint256)

func (*MinterV2Session) CalculateEmission

func (_MinterV2 *MinterV2Session) CalculateEmission() (*big.Int, error)

CalculateEmission is a free data retrieval call binding the contract method 0x36d96faf.

Solidity: function calculate_emission() view returns(uint256)

func (*MinterV2Session) CalculateNFTStakerReward

func (_MinterV2 *MinterV2Session) CalculateNFTStakerReward(_weeklyMint *big.Int) (*big.Int, error)

CalculateNFTStakerReward is a free data retrieval call binding the contract method 0xa6e46d98.

Solidity: function calculate_NFT_Staker_Reward(uint256 _weeklyMint) view returns(uint256)

func (*MinterV2Session) CalculateRebase

func (_MinterV2 *MinterV2Session) CalculateRebase(_weeklyMint *big.Int) (*big.Int, error)

CalculateRebase is a free data retrieval call binding the contract method 0xa129cfbf.

Solidity: function calculate_rebase(uint256 _weeklyMint) view returns(uint256)

func (*MinterV2Session) Check

func (_MinterV2 *MinterV2Session) Check() (bool, error)

Check is a free data retrieval call binding the contract method 0x919840ad.

Solidity: function check() view returns(bool)

func (*MinterV2Session) CirculatingEmission

func (_MinterV2 *MinterV2Session) CirculatingEmission() (*big.Int, error)

CirculatingEmission is a free data retrieval call binding the contract method 0x1eebae80.

Solidity: function circulating_emission() view returns(uint256)

func (*MinterV2Session) CirculatingSupply

func (_MinterV2 *MinterV2Session) CirculatingSupply() (*big.Int, error)

CirculatingSupply is a free data retrieval call binding the contract method 0xe038c75a.

Solidity: function circulating_supply() view returns(uint256)

func (*MinterV2Session) Initialize

func (_MinterV2 *MinterV2Session) Initialize(claimants []common.Address, amounts []*big.Int, max *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x85170813.

Solidity: function initialize(address[] claimants, uint256[] amounts, uint256 max) returns()

func (*MinterV2Session) IsFirstMint

func (_MinterV2 *MinterV2Session) IsFirstMint() (bool, error)

IsFirstMint is a free data retrieval call binding the contract method 0xa9abf7ec.

Solidity: function isFirstMint() view returns(bool)

func (*MinterV2Session) Loxo

func (_MinterV2 *MinterV2Session) Loxo() (common.Address, error)

Loxo is a free data retrieval call binding the contract method 0x33b875b2.

Solidity: function _Loxo() view returns(address)

func (*MinterV2Session) MAXTEAMRATE

func (_MinterV2 *MinterV2Session) MAXTEAMRATE() (*big.Int, error)

MAXTEAMRATE is a free data retrieval call binding the contract method 0x01c8e6fd.

Solidity: function MAX_TEAM_RATE() view returns(uint256)

func (*MinterV2Session) NFTstakersRewards

func (_MinterV2 *MinterV2Session) NFTstakersRewards() (common.Address, error)

NFTstakersRewards is a free data retrieval call binding the contract method 0x4718d877.

Solidity: function _NFTstakers_rewards() view returns(address)

func (*MinterV2Session) PendingTeam

func (_MinterV2 *MinterV2Session) PendingTeam() (common.Address, error)

PendingTeam is a free data retrieval call binding the contract method 0x59d46ffc.

Solidity: function pendingTeam() view returns(address)

func (*MinterV2Session) Period

func (_MinterV2 *MinterV2Session) Period() (*big.Int, error)

Period is a free data retrieval call binding the contract method 0xef78d4fd.

Solidity: function period() view returns(uint256)

func (*MinterV2Session) RewardsDistributor

func (_MinterV2 *MinterV2Session) RewardsDistributor() (common.Address, error)

RewardsDistributor is a free data retrieval call binding the contract method 0x4b1cd5da.

Solidity: function _rewards_distributor() view returns(address)

func (*MinterV2Session) SetEmission

func (_MinterV2 *MinterV2Session) SetEmission(_emission *big.Int) (*types.Transaction, error)

SetEmission is a paid mutator transaction binding the contract method 0xddce102f.

Solidity: function setEmission(uint256 _emission) returns()

func (*MinterV2Session) SetNFTStaker

func (_MinterV2 *MinterV2Session) SetNFTStaker(_NFTStakersReward *big.Int) (*types.Transaction, error)

SetNFTStaker is a paid mutator transaction binding the contract method 0xfde7ef4f.

Solidity: function setNFTStaker(uint256 _NFTStakersReward) returns()

func (*MinterV2Session) SetNFTstakers

func (_MinterV2 *MinterV2Session) SetNFTstakers(__NFTstakers common.Address) (*types.Transaction, error)

SetNFTstakers is a paid mutator transaction binding the contract method 0xd248687f.

Solidity: function setNFTstakers(address __NFTstakers) returns()

func (*MinterV2Session) SetRebase

func (_MinterV2 *MinterV2Session) SetRebase(_rebase *big.Int) (*types.Transaction, error)

SetRebase is a paid mutator transaction binding the contract method 0xde3e3492.

Solidity: function setRebase(uint256 _rebase) returns()

func (*MinterV2Session) SetTeam

func (_MinterV2 *MinterV2Session) SetTeam(_team common.Address) (*types.Transaction, error)

SetTeam is a paid mutator transaction binding the contract method 0x095cf5c6.

Solidity: function setTeam(address _team) returns()

func (*MinterV2Session) SetTeamRate

func (_MinterV2 *MinterV2Session) SetTeamRate(_teamRate *big.Int) (*types.Transaction, error)

SetTeamRate is a paid mutator transaction binding the contract method 0x2e8f7b1f.

Solidity: function setTeamRate(uint256 _teamRate) returns()

func (*MinterV2Session) SetVoter

func (_MinterV2 *MinterV2Session) SetVoter(__voter common.Address) (*types.Transaction, error)

SetVoter is a paid mutator transaction binding the contract method 0x4bc2a657.

Solidity: function setVoter(address __voter) returns()

func (*MinterV2Session) Team

func (_MinterV2 *MinterV2Session) Team() (common.Address, error)

Team is a free data retrieval call binding the contract method 0x85f2aef2.

Solidity: function team() view returns(address)

func (*MinterV2Session) TeamRate

func (_MinterV2 *MinterV2Session) TeamRate() (*big.Int, error)

TeamRate is a free data retrieval call binding the contract method 0x78ef7f02.

Solidity: function teamRate() view returns(uint256)

func (*MinterV2Session) UpdatePeriod

func (_MinterV2 *MinterV2Session) UpdatePeriod() (*types.Transaction, error)

UpdatePeriod is a paid mutator transaction binding the contract method 0xed29fc11.

Solidity: function update_period() returns(uint256)

func (*MinterV2Session) Ve

func (_MinterV2 *MinterV2Session) Ve() (common.Address, error)

Ve is a free data retrieval call binding the contract method 0x8dd598fb.

Solidity: function _ve() view returns(address)

func (*MinterV2Session) Voter

func (_MinterV2 *MinterV2Session) Voter() (common.Address, error)

Voter is a free data retrieval call binding the contract method 0x3db9b42a.

Solidity: function _voter() view returns(address)

func (*MinterV2Session) Weekly

func (_MinterV2 *MinterV2Session) Weekly() (*big.Int, error)

Weekly is a free data retrieval call binding the contract method 0x26cfc17b.

Solidity: function weekly() view returns(uint256)

func (*MinterV2Session) WeeklyEmission

func (_MinterV2 *MinterV2Session) WeeklyEmission() (*big.Int, error)

WeeklyEmission is a free data retrieval call binding the contract method 0xcfc6c8ff.

Solidity: function weekly_emission() view returns(uint256)

type MinterV2Transactor

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

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

func NewMinterV2Transactor

func NewMinterV2Transactor(address common.Address, transactor bind.ContractTransactor) (*MinterV2Transactor, error)

NewMinterV2Transactor creates a new write-only instance of MinterV2, bound to a specific deployed contract.

func (*MinterV2Transactor) AcceptTeam

func (_MinterV2 *MinterV2Transactor) AcceptTeam(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTeam is a paid mutator transaction binding the contract method 0xb5cc143a.

Solidity: function acceptTeam() returns()

func (*MinterV2Transactor) Initialize

func (_MinterV2 *MinterV2Transactor) Initialize(opts *bind.TransactOpts, claimants []common.Address, amounts []*big.Int, max *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x85170813.

Solidity: function initialize(address[] claimants, uint256[] amounts, uint256 max) returns()

func (*MinterV2Transactor) SetEmission

func (_MinterV2 *MinterV2Transactor) SetEmission(opts *bind.TransactOpts, _emission *big.Int) (*types.Transaction, error)

SetEmission is a paid mutator transaction binding the contract method 0xddce102f.

Solidity: function setEmission(uint256 _emission) returns()

func (*MinterV2Transactor) SetNFTStaker

func (_MinterV2 *MinterV2Transactor) SetNFTStaker(opts *bind.TransactOpts, _NFTStakersReward *big.Int) (*types.Transaction, error)

SetNFTStaker is a paid mutator transaction binding the contract method 0xfde7ef4f.

Solidity: function setNFTStaker(uint256 _NFTStakersReward) returns()

func (*MinterV2Transactor) SetNFTstakers

func (_MinterV2 *MinterV2Transactor) SetNFTstakers(opts *bind.TransactOpts, __NFTstakers common.Address) (*types.Transaction, error)

SetNFTstakers is a paid mutator transaction binding the contract method 0xd248687f.

Solidity: function setNFTstakers(address __NFTstakers) returns()

func (*MinterV2Transactor) SetRebase

func (_MinterV2 *MinterV2Transactor) SetRebase(opts *bind.TransactOpts, _rebase *big.Int) (*types.Transaction, error)

SetRebase is a paid mutator transaction binding the contract method 0xde3e3492.

Solidity: function setRebase(uint256 _rebase) returns()

func (*MinterV2Transactor) SetTeam

func (_MinterV2 *MinterV2Transactor) SetTeam(opts *bind.TransactOpts, _team common.Address) (*types.Transaction, error)

SetTeam is a paid mutator transaction binding the contract method 0x095cf5c6.

Solidity: function setTeam(address _team) returns()

func (*MinterV2Transactor) SetTeamRate

func (_MinterV2 *MinterV2Transactor) SetTeamRate(opts *bind.TransactOpts, _teamRate *big.Int) (*types.Transaction, error)

SetTeamRate is a paid mutator transaction binding the contract method 0x2e8f7b1f.

Solidity: function setTeamRate(uint256 _teamRate) returns()

func (*MinterV2Transactor) SetVoter

func (_MinterV2 *MinterV2Transactor) SetVoter(opts *bind.TransactOpts, __voter common.Address) (*types.Transaction, error)

SetVoter is a paid mutator transaction binding the contract method 0x4bc2a657.

Solidity: function setVoter(address __voter) returns()

func (*MinterV2Transactor) UpdatePeriod

func (_MinterV2 *MinterV2Transactor) UpdatePeriod(opts *bind.TransactOpts) (*types.Transaction, error)

UpdatePeriod is a paid mutator transaction binding the contract method 0xed29fc11.

Solidity: function update_period() returns(uint256)

type MinterV2TransactorRaw

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

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

func (*MinterV2TransactorRaw) Transact

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

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

func (*MinterV2TransactorRaw) Transfer

func (_MinterV2 *MinterV2TransactorRaw) 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 MinterV2TransactorSession

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

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

func (*MinterV2TransactorSession) AcceptTeam

func (_MinterV2 *MinterV2TransactorSession) AcceptTeam() (*types.Transaction, error)

AcceptTeam is a paid mutator transaction binding the contract method 0xb5cc143a.

Solidity: function acceptTeam() returns()

func (*MinterV2TransactorSession) Initialize

func (_MinterV2 *MinterV2TransactorSession) Initialize(claimants []common.Address, amounts []*big.Int, max *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x85170813.

Solidity: function initialize(address[] claimants, uint256[] amounts, uint256 max) returns()

func (*MinterV2TransactorSession) SetEmission

func (_MinterV2 *MinterV2TransactorSession) SetEmission(_emission *big.Int) (*types.Transaction, error)

SetEmission is a paid mutator transaction binding the contract method 0xddce102f.

Solidity: function setEmission(uint256 _emission) returns()

func (*MinterV2TransactorSession) SetNFTStaker

func (_MinterV2 *MinterV2TransactorSession) SetNFTStaker(_NFTStakersReward *big.Int) (*types.Transaction, error)

SetNFTStaker is a paid mutator transaction binding the contract method 0xfde7ef4f.

Solidity: function setNFTStaker(uint256 _NFTStakersReward) returns()

func (*MinterV2TransactorSession) SetNFTstakers

func (_MinterV2 *MinterV2TransactorSession) SetNFTstakers(__NFTstakers common.Address) (*types.Transaction, error)

SetNFTstakers is a paid mutator transaction binding the contract method 0xd248687f.

Solidity: function setNFTstakers(address __NFTstakers) returns()

func (*MinterV2TransactorSession) SetRebase

func (_MinterV2 *MinterV2TransactorSession) SetRebase(_rebase *big.Int) (*types.Transaction, error)

SetRebase is a paid mutator transaction binding the contract method 0xde3e3492.

Solidity: function setRebase(uint256 _rebase) returns()

func (*MinterV2TransactorSession) SetTeam

func (_MinterV2 *MinterV2TransactorSession) SetTeam(_team common.Address) (*types.Transaction, error)

SetTeam is a paid mutator transaction binding the contract method 0x095cf5c6.

Solidity: function setTeam(address _team) returns()

func (*MinterV2TransactorSession) SetTeamRate

func (_MinterV2 *MinterV2TransactorSession) SetTeamRate(_teamRate *big.Int) (*types.Transaction, error)

SetTeamRate is a paid mutator transaction binding the contract method 0x2e8f7b1f.

Solidity: function setTeamRate(uint256 _teamRate) returns()

func (*MinterV2TransactorSession) SetVoter

func (_MinterV2 *MinterV2TransactorSession) SetVoter(__voter common.Address) (*types.Transaction, error)

SetVoter is a paid mutator transaction binding the contract method 0x4bc2a657.

Solidity: function setVoter(address __voter) returns()

func (*MinterV2TransactorSession) UpdatePeriod

func (_MinterV2 *MinterV2TransactorSession) UpdatePeriod() (*types.Transaction, error)

UpdatePeriod is a paid mutator transaction binding the contract method 0xed29fc11.

Solidity: function update_period() returns(uint256)

Jump to

Keyboard shortcuts

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