Documentation ¶
Index ¶
- Variables
- type Yayvesting
- type YayvestingCaller
- func (_Yayvesting *YayvestingCaller) AlreadyRewarded(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Yayvesting *YayvestingCaller) Categories(opts *bind.CallOpts, arg0 uint8) (struct{ ... }, error)
- func (_Yayvesting *YayvestingCaller) CheckClaim(opts *bind.CallOpts, _target common.Address, _category *big.Int, ...) (bool, error)
- func (_Yayvesting *YayvestingCaller) LastClaimedStep(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Yayvesting *YayvestingCaller) MercleRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Yayvesting *YayvestingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Yayvesting *YayvestingCaller) TgeIsClaimed(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Yayvesting *YayvestingCaller) TgeTimestamp(opts *bind.CallOpts) (*big.Int, error)
- func (_Yayvesting *YayvestingCaller) Token(opts *bind.CallOpts) (common.Address, error)
- type YayvestingCallerRaw
- type YayvestingCallerSession
- func (_Yayvesting *YayvestingCallerSession) AlreadyRewarded(arg0 common.Address) (*big.Int, error)
- func (_Yayvesting *YayvestingCallerSession) Categories(arg0 uint8) (struct{ ... }, error)
- func (_Yayvesting *YayvestingCallerSession) CheckClaim(_target common.Address, _category *big.Int, _amount *big.Int, ...) (bool, error)
- func (_Yayvesting *YayvestingCallerSession) LastClaimedStep(arg0 common.Address) (*big.Int, error)
- func (_Yayvesting *YayvestingCallerSession) MercleRoot() ([32]byte, error)
- func (_Yayvesting *YayvestingCallerSession) Owner() (common.Address, error)
- func (_Yayvesting *YayvestingCallerSession) TgeIsClaimed(arg0 common.Address) (bool, error)
- func (_Yayvesting *YayvestingCallerSession) TgeTimestamp() (*big.Int, error)
- func (_Yayvesting *YayvestingCallerSession) Token() (common.Address, error)
- type YayvestingClaim
- type YayvestingClaimIterator
- type YayvestingFilterer
- func (_Yayvesting *YayvestingFilterer) FilterClaim(opts *bind.FilterOpts, target []common.Address, category []*big.Int) (*YayvestingClaimIterator, error)
- func (_Yayvesting *YayvestingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*YayvestingOwnershipTransferredIterator, error)
- func (_Yayvesting *YayvestingFilterer) FilterStepClaim(opts *bind.FilterOpts, target []common.Address, step []*big.Int) (*YayvestingStepClaimIterator, error)
- func (_Yayvesting *YayvestingFilterer) FilterTgeClaim(opts *bind.FilterOpts, target []common.Address) (*YayvestingTgeClaimIterator, error)
- func (_Yayvesting *YayvestingFilterer) ParseClaim(log types.Log) (*YayvestingClaim, error)
- func (_Yayvesting *YayvestingFilterer) ParseOwnershipTransferred(log types.Log) (*YayvestingOwnershipTransferred, error)
- func (_Yayvesting *YayvestingFilterer) ParseStepClaim(log types.Log) (*YayvestingStepClaim, error)
- func (_Yayvesting *YayvestingFilterer) ParseTgeClaim(log types.Log) (*YayvestingTgeClaim, error)
- func (_Yayvesting *YayvestingFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *YayvestingClaim, target []common.Address, ...) (event.Subscription, error)
- func (_Yayvesting *YayvestingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *YayvestingOwnershipTransferred, ...) (event.Subscription, error)
- func (_Yayvesting *YayvestingFilterer) WatchStepClaim(opts *bind.WatchOpts, sink chan<- *YayvestingStepClaim, ...) (event.Subscription, error)
- func (_Yayvesting *YayvestingFilterer) WatchTgeClaim(opts *bind.WatchOpts, sink chan<- *YayvestingTgeClaim, target []common.Address) (event.Subscription, error)
- type YayvestingOwnershipTransferred
- type YayvestingOwnershipTransferredIterator
- type YayvestingRaw
- func (_Yayvesting *YayvestingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Yayvesting *YayvestingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Yayvesting *YayvestingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type YayvestingSession
- func (_Yayvesting *YayvestingSession) AlreadyRewarded(arg0 common.Address) (*big.Int, error)
- func (_Yayvesting *YayvestingSession) Categories(arg0 uint8) (struct{ ... }, error)
- func (_Yayvesting *YayvestingSession) CheckClaim(_target common.Address, _category *big.Int, _amount *big.Int, ...) (bool, error)
- func (_Yayvesting *YayvestingSession) Claim(_category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (*types.Transaction, error)
- func (_Yayvesting *YayvestingSession) EmergencyWithdrawal(amount *big.Int) (*types.Transaction, error)
- func (_Yayvesting *YayvestingSession) LastClaimedStep(arg0 common.Address) (*big.Int, error)
- func (_Yayvesting *YayvestingSession) MercleRoot() ([32]byte, error)
- func (_Yayvesting *YayvestingSession) Owner() (common.Address, error)
- func (_Yayvesting *YayvestingSession) RenounceOwnership() (*types.Transaction, error)
- func (_Yayvesting *YayvestingSession) TgeIsClaimed(arg0 common.Address) (bool, error)
- func (_Yayvesting *YayvestingSession) TgeTimestamp() (*big.Int, error)
- func (_Yayvesting *YayvestingSession) Token() (common.Address, error)
- func (_Yayvesting *YayvestingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type YayvestingStepClaim
- type YayvestingStepClaimIterator
- type YayvestingTgeClaim
- type YayvestingTgeClaimIterator
- type YayvestingTransactor
- func (_Yayvesting *YayvestingTransactor) Claim(opts *bind.TransactOpts, _category *big.Int, _amount *big.Int, ...) (*types.Transaction, error)
- func (_Yayvesting *YayvestingTransactor) EmergencyWithdrawal(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Yayvesting *YayvestingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Yayvesting *YayvestingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type YayvestingTransactorRaw
- type YayvestingTransactorSession
- func (_Yayvesting *YayvestingTransactorSession) Claim(_category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (*types.Transaction, error)
- func (_Yayvesting *YayvestingTransactorSession) EmergencyWithdrawal(amount *big.Int) (*types.Transaction, error)
- func (_Yayvesting *YayvestingTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Yayvesting *YayvestingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var YayvestingABI = YayvestingMetaData.ABI
YayvestingABI is the input ABI used to generate the binding from. Deprecated: Use YayvestingMetaData.ABI instead.
var YayvestingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_mercleRoot\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_tgeTimestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"category\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"resultReward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"step\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"StepClaim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"TgeClaim\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"alreadyRewarded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumYayVesting.CategoryNames\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"categories\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalSteps\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stepTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"percentBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"percentAfter\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"checkClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_category\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimResult\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdrawal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastClaimedStep\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mercleRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tgeIsClaimed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tgeTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
YayvestingMetaData contains all meta data concerning the Yayvesting contract.
Functions ¶
This section is empty.
Types ¶
type Yayvesting ¶
type Yayvesting struct { YayvestingCaller // Read-only binding to the contract YayvestingTransactor // Write-only binding to the contract YayvestingFilterer // Log filterer for contract events }
Yayvesting is an auto generated Go binding around an Ethereum contract.
func NewYayvesting ¶
func NewYayvesting(address common.Address, backend bind.ContractBackend) (*Yayvesting, error)
NewYayvesting creates a new instance of Yayvesting, bound to a specific deployed contract.
type YayvestingCaller ¶
type YayvestingCaller struct {
// contains filtered or unexported fields
}
YayvestingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewYayvestingCaller ¶
func NewYayvestingCaller(address common.Address, caller bind.ContractCaller) (*YayvestingCaller, error)
NewYayvestingCaller creates a new read-only instance of Yayvesting, bound to a specific deployed contract.
func (*YayvestingCaller) AlreadyRewarded ¶
func (_Yayvesting *YayvestingCaller) AlreadyRewarded(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
AlreadyRewarded is a free data retrieval call binding the contract method 0x3ae4fb1b.
Solidity: function alreadyRewarded(address ) view returns(uint256)
func (*YayvestingCaller) Categories ¶
func (_Yayvesting *YayvestingCaller) Categories(opts *bind.CallOpts, arg0 uint8) (struct { TotalSteps *big.Int StepTime *big.Int PercentBefore *big.Int PercentAfter *big.Int }, error)
Categories is a free data retrieval call binding the contract method 0x7be6277b.
Solidity: function categories(uint8 ) view returns(uint256 totalSteps, uint256 stepTime, uint256 percentBefore, uint256 percentAfter)
func (*YayvestingCaller) CheckClaim ¶
func (_Yayvesting *YayvestingCaller) CheckClaim(opts *bind.CallOpts, _target common.Address, _category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (bool, error)
CheckClaim is a free data retrieval call binding the contract method 0x359ebd9f.
Solidity: function checkClaim(address _target, uint256 _category, uint256 _amount, bytes32[] _merkleProof) view returns(bool)
func (*YayvestingCaller) LastClaimedStep ¶
func (_Yayvesting *YayvestingCaller) LastClaimedStep(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
LastClaimedStep is a free data retrieval call binding the contract method 0x8d41ebe0.
Solidity: function lastClaimedStep(address ) view returns(uint256)
func (*YayvestingCaller) MercleRoot ¶
func (_Yayvesting *YayvestingCaller) MercleRoot(opts *bind.CallOpts) ([32]byte, error)
MercleRoot is a free data retrieval call binding the contract method 0xd060d6fe.
Solidity: function mercleRoot() view returns(bytes32)
func (*YayvestingCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*YayvestingCaller) TgeIsClaimed ¶
func (_Yayvesting *YayvestingCaller) TgeIsClaimed(opts *bind.CallOpts, arg0 common.Address) (bool, error)
TgeIsClaimed is a free data retrieval call binding the contract method 0xe989a9b5.
Solidity: function tgeIsClaimed(address ) view returns(bool)
func (*YayvestingCaller) TgeTimestamp ¶
TgeTimestamp is a free data retrieval call binding the contract method 0xa4317ef4.
Solidity: function tgeTimestamp() view returns(uint256)
type YayvestingCallerRaw ¶
type YayvestingCallerRaw struct {
Contract *YayvestingCaller // Generic read-only contract binding to access the raw methods on
}
YayvestingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*YayvestingCallerRaw) Call ¶
func (_Yayvesting *YayvestingCallerRaw) 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 YayvestingCallerSession ¶
type YayvestingCallerSession struct { Contract *YayvestingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
YayvestingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*YayvestingCallerSession) AlreadyRewarded ¶
AlreadyRewarded is a free data retrieval call binding the contract method 0x3ae4fb1b.
Solidity: function alreadyRewarded(address ) view returns(uint256)
func (*YayvestingCallerSession) Categories ¶
func (_Yayvesting *YayvestingCallerSession) Categories(arg0 uint8) (struct { TotalSteps *big.Int StepTime *big.Int PercentBefore *big.Int PercentAfter *big.Int }, error)
Categories is a free data retrieval call binding the contract method 0x7be6277b.
Solidity: function categories(uint8 ) view returns(uint256 totalSteps, uint256 stepTime, uint256 percentBefore, uint256 percentAfter)
func (*YayvestingCallerSession) CheckClaim ¶
func (_Yayvesting *YayvestingCallerSession) CheckClaim(_target common.Address, _category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (bool, error)
CheckClaim is a free data retrieval call binding the contract method 0x359ebd9f.
Solidity: function checkClaim(address _target, uint256 _category, uint256 _amount, bytes32[] _merkleProof) view returns(bool)
func (*YayvestingCallerSession) LastClaimedStep ¶
LastClaimedStep is a free data retrieval call binding the contract method 0x8d41ebe0.
Solidity: function lastClaimedStep(address ) view returns(uint256)
func (*YayvestingCallerSession) MercleRoot ¶
func (_Yayvesting *YayvestingCallerSession) MercleRoot() ([32]byte, error)
MercleRoot is a free data retrieval call binding the contract method 0xd060d6fe.
Solidity: function mercleRoot() view returns(bytes32)
func (*YayvestingCallerSession) Owner ¶
func (_Yayvesting *YayvestingCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*YayvestingCallerSession) TgeIsClaimed ¶
func (_Yayvesting *YayvestingCallerSession) TgeIsClaimed(arg0 common.Address) (bool, error)
TgeIsClaimed is a free data retrieval call binding the contract method 0xe989a9b5.
Solidity: function tgeIsClaimed(address ) view returns(bool)
func (*YayvestingCallerSession) TgeTimestamp ¶
func (_Yayvesting *YayvestingCallerSession) TgeTimestamp() (*big.Int, error)
TgeTimestamp is a free data retrieval call binding the contract method 0xa4317ef4.
Solidity: function tgeTimestamp() view returns(uint256)
type YayvestingClaim ¶
type YayvestingClaim struct { Target common.Address Category *big.Int Amount *big.Int MerkleProof [][32]byte ResultReward *big.Int Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
YayvestingClaim represents a Claim event raised by the Yayvesting contract.
type YayvestingClaimIterator ¶
type YayvestingClaimIterator struct { Event *YayvestingClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YayvestingClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the Yayvesting contract.
func (*YayvestingClaimIterator) Close ¶
func (it *YayvestingClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YayvestingClaimIterator) Error ¶
func (it *YayvestingClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YayvestingClaimIterator) Next ¶
func (it *YayvestingClaimIterator) 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 YayvestingFilterer ¶
type YayvestingFilterer struct {
// contains filtered or unexported fields
}
YayvestingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewYayvestingFilterer ¶
func NewYayvestingFilterer(address common.Address, filterer bind.ContractFilterer) (*YayvestingFilterer, error)
NewYayvestingFilterer creates a new log filterer instance of Yayvesting, bound to a specific deployed contract.
func (*YayvestingFilterer) FilterClaim ¶
func (_Yayvesting *YayvestingFilterer) FilterClaim(opts *bind.FilterOpts, target []common.Address, category []*big.Int) (*YayvestingClaimIterator, error)
FilterClaim is a free log retrieval operation binding the contract event 0xed397d6389ffb93b4028067de164a2b9ad3612bf5d4937c1bbf1a2e0fe7c2e91.
Solidity: event Claim(address indexed target, uint256 indexed category, uint256 amount, bytes32[] merkleProof, uint256 resultReward, uint256 timestamp)
func (*YayvestingFilterer) FilterOwnershipTransferred ¶
func (_Yayvesting *YayvestingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*YayvestingOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*YayvestingFilterer) FilterStepClaim ¶
func (_Yayvesting *YayvestingFilterer) FilterStepClaim(opts *bind.FilterOpts, target []common.Address, step []*big.Int) (*YayvestingStepClaimIterator, error)
FilterStepClaim is a free log retrieval operation binding the contract event 0xb5fedb6d86259eba2fd9023651406f62391c1dbe56a7b4f6922924b299c9d2a5.
Solidity: event StepClaim(address indexed target, uint256 indexed step, uint256 value, uint256 timestamp)
func (*YayvestingFilterer) FilterTgeClaim ¶
func (_Yayvesting *YayvestingFilterer) FilterTgeClaim(opts *bind.FilterOpts, target []common.Address) (*YayvestingTgeClaimIterator, error)
FilterTgeClaim is a free log retrieval operation binding the contract event 0x8166115a145a1fe0553bf0f9581055c766cccb00c1f73f661870f4a0f41b2fe9.
Solidity: event TgeClaim(address indexed target, uint256 value, uint256 timestamp)
func (*YayvestingFilterer) ParseClaim ¶
func (_Yayvesting *YayvestingFilterer) ParseClaim(log types.Log) (*YayvestingClaim, error)
ParseClaim is a log parse operation binding the contract event 0xed397d6389ffb93b4028067de164a2b9ad3612bf5d4937c1bbf1a2e0fe7c2e91.
Solidity: event Claim(address indexed target, uint256 indexed category, uint256 amount, bytes32[] merkleProof, uint256 resultReward, uint256 timestamp)
func (*YayvestingFilterer) ParseOwnershipTransferred ¶
func (_Yayvesting *YayvestingFilterer) ParseOwnershipTransferred(log types.Log) (*YayvestingOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*YayvestingFilterer) ParseStepClaim ¶
func (_Yayvesting *YayvestingFilterer) ParseStepClaim(log types.Log) (*YayvestingStepClaim, error)
ParseStepClaim is a log parse operation binding the contract event 0xb5fedb6d86259eba2fd9023651406f62391c1dbe56a7b4f6922924b299c9d2a5.
Solidity: event StepClaim(address indexed target, uint256 indexed step, uint256 value, uint256 timestamp)
func (*YayvestingFilterer) ParseTgeClaim ¶
func (_Yayvesting *YayvestingFilterer) ParseTgeClaim(log types.Log) (*YayvestingTgeClaim, error)
ParseTgeClaim is a log parse operation binding the contract event 0x8166115a145a1fe0553bf0f9581055c766cccb00c1f73f661870f4a0f41b2fe9.
Solidity: event TgeClaim(address indexed target, uint256 value, uint256 timestamp)
func (*YayvestingFilterer) WatchClaim ¶
func (_Yayvesting *YayvestingFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *YayvestingClaim, target []common.Address, category []*big.Int) (event.Subscription, error)
WatchClaim is a free log subscription operation binding the contract event 0xed397d6389ffb93b4028067de164a2b9ad3612bf5d4937c1bbf1a2e0fe7c2e91.
Solidity: event Claim(address indexed target, uint256 indexed category, uint256 amount, bytes32[] merkleProof, uint256 resultReward, uint256 timestamp)
func (*YayvestingFilterer) WatchOwnershipTransferred ¶
func (_Yayvesting *YayvestingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *YayvestingOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*YayvestingFilterer) WatchStepClaim ¶
func (_Yayvesting *YayvestingFilterer) WatchStepClaim(opts *bind.WatchOpts, sink chan<- *YayvestingStepClaim, target []common.Address, step []*big.Int) (event.Subscription, error)
WatchStepClaim is a free log subscription operation binding the contract event 0xb5fedb6d86259eba2fd9023651406f62391c1dbe56a7b4f6922924b299c9d2a5.
Solidity: event StepClaim(address indexed target, uint256 indexed step, uint256 value, uint256 timestamp)
func (*YayvestingFilterer) WatchTgeClaim ¶
func (_Yayvesting *YayvestingFilterer) WatchTgeClaim(opts *bind.WatchOpts, sink chan<- *YayvestingTgeClaim, target []common.Address) (event.Subscription, error)
WatchTgeClaim is a free log subscription operation binding the contract event 0x8166115a145a1fe0553bf0f9581055c766cccb00c1f73f661870f4a0f41b2fe9.
Solidity: event TgeClaim(address indexed target, uint256 value, uint256 timestamp)
type YayvestingOwnershipTransferred ¶
type YayvestingOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
YayvestingOwnershipTransferred represents a OwnershipTransferred event raised by the Yayvesting contract.
type YayvestingOwnershipTransferredIterator ¶
type YayvestingOwnershipTransferredIterator struct { Event *YayvestingOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YayvestingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Yayvesting contract.
func (*YayvestingOwnershipTransferredIterator) Close ¶
func (it *YayvestingOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YayvestingOwnershipTransferredIterator) Error ¶
func (it *YayvestingOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YayvestingOwnershipTransferredIterator) Next ¶
func (it *YayvestingOwnershipTransferredIterator) 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 YayvestingRaw ¶
type YayvestingRaw struct {
Contract *Yayvesting // Generic contract binding to access the raw methods on
}
YayvestingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*YayvestingRaw) Call ¶
func (_Yayvesting *YayvestingRaw) 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 (*YayvestingRaw) Transact ¶
func (_Yayvesting *YayvestingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YayvestingRaw) Transfer ¶
func (_Yayvesting *YayvestingRaw) 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 YayvestingSession ¶
type YayvestingSession struct { Contract *Yayvesting // 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 }
YayvestingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*YayvestingSession) AlreadyRewarded ¶
AlreadyRewarded is a free data retrieval call binding the contract method 0x3ae4fb1b.
Solidity: function alreadyRewarded(address ) view returns(uint256)
func (*YayvestingSession) Categories ¶
func (_Yayvesting *YayvestingSession) Categories(arg0 uint8) (struct { TotalSteps *big.Int StepTime *big.Int PercentBefore *big.Int PercentAfter *big.Int }, error)
Categories is a free data retrieval call binding the contract method 0x7be6277b.
Solidity: function categories(uint8 ) view returns(uint256 totalSteps, uint256 stepTime, uint256 percentBefore, uint256 percentAfter)
func (*YayvestingSession) CheckClaim ¶
func (_Yayvesting *YayvestingSession) CheckClaim(_target common.Address, _category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (bool, error)
CheckClaim is a free data retrieval call binding the contract method 0x359ebd9f.
Solidity: function checkClaim(address _target, uint256 _category, uint256 _amount, bytes32[] _merkleProof) view returns(bool)
func (*YayvestingSession) Claim ¶
func (_Yayvesting *YayvestingSession) Claim(_category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0xae0b51df.
Solidity: function claim(uint256 _category, uint256 _amount, bytes32[] _merkleProof) returns(uint256 _claimResult)
func (*YayvestingSession) EmergencyWithdrawal ¶
func (_Yayvesting *YayvestingSession) EmergencyWithdrawal(amount *big.Int) (*types.Transaction, error)
EmergencyWithdrawal is a paid mutator transaction binding the contract method 0x0039522c.
Solidity: function emergencyWithdrawal(uint256 amount) returns(bool)
func (*YayvestingSession) LastClaimedStep ¶
LastClaimedStep is a free data retrieval call binding the contract method 0x8d41ebe0.
Solidity: function lastClaimedStep(address ) view returns(uint256)
func (*YayvestingSession) MercleRoot ¶
func (_Yayvesting *YayvestingSession) MercleRoot() ([32]byte, error)
MercleRoot is a free data retrieval call binding the contract method 0xd060d6fe.
Solidity: function mercleRoot() view returns(bytes32)
func (*YayvestingSession) Owner ¶
func (_Yayvesting *YayvestingSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*YayvestingSession) RenounceOwnership ¶
func (_Yayvesting *YayvestingSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*YayvestingSession) TgeIsClaimed ¶
func (_Yayvesting *YayvestingSession) TgeIsClaimed(arg0 common.Address) (bool, error)
TgeIsClaimed is a free data retrieval call binding the contract method 0xe989a9b5.
Solidity: function tgeIsClaimed(address ) view returns(bool)
func (*YayvestingSession) TgeTimestamp ¶
func (_Yayvesting *YayvestingSession) TgeTimestamp() (*big.Int, error)
TgeTimestamp is a free data retrieval call binding the contract method 0xa4317ef4.
Solidity: function tgeTimestamp() view returns(uint256)
func (*YayvestingSession) Token ¶
func (_Yayvesting *YayvestingSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*YayvestingSession) TransferOwnership ¶
func (_Yayvesting *YayvestingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type YayvestingStepClaim ¶
type YayvestingStepClaim struct { Target common.Address Step *big.Int Value *big.Int Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
YayvestingStepClaim represents a StepClaim event raised by the Yayvesting contract.
type YayvestingStepClaimIterator ¶
type YayvestingStepClaimIterator struct { Event *YayvestingStepClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YayvestingStepClaimIterator is returned from FilterStepClaim and is used to iterate over the raw logs and unpacked data for StepClaim events raised by the Yayvesting contract.
func (*YayvestingStepClaimIterator) Close ¶
func (it *YayvestingStepClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YayvestingStepClaimIterator) Error ¶
func (it *YayvestingStepClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YayvestingStepClaimIterator) Next ¶
func (it *YayvestingStepClaimIterator) 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 YayvestingTgeClaim ¶
type YayvestingTgeClaim struct { Target common.Address Value *big.Int Timestamp *big.Int Raw types.Log // Blockchain specific contextual infos }
YayvestingTgeClaim represents a TgeClaim event raised by the Yayvesting contract.
type YayvestingTgeClaimIterator ¶
type YayvestingTgeClaimIterator struct { Event *YayvestingTgeClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
YayvestingTgeClaimIterator is returned from FilterTgeClaim and is used to iterate over the raw logs and unpacked data for TgeClaim events raised by the Yayvesting contract.
func (*YayvestingTgeClaimIterator) Close ¶
func (it *YayvestingTgeClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*YayvestingTgeClaimIterator) Error ¶
func (it *YayvestingTgeClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*YayvestingTgeClaimIterator) Next ¶
func (it *YayvestingTgeClaimIterator) 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 YayvestingTransactor ¶
type YayvestingTransactor struct {
// contains filtered or unexported fields
}
YayvestingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewYayvestingTransactor ¶
func NewYayvestingTransactor(address common.Address, transactor bind.ContractTransactor) (*YayvestingTransactor, error)
NewYayvestingTransactor creates a new write-only instance of Yayvesting, bound to a specific deployed contract.
func (*YayvestingTransactor) Claim ¶
func (_Yayvesting *YayvestingTransactor) Claim(opts *bind.TransactOpts, _category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0xae0b51df.
Solidity: function claim(uint256 _category, uint256 _amount, bytes32[] _merkleProof) returns(uint256 _claimResult)
func (*YayvestingTransactor) EmergencyWithdrawal ¶
func (_Yayvesting *YayvestingTransactor) EmergencyWithdrawal(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
EmergencyWithdrawal is a paid mutator transaction binding the contract method 0x0039522c.
Solidity: function emergencyWithdrawal(uint256 amount) returns(bool)
func (*YayvestingTransactor) RenounceOwnership ¶
func (_Yayvesting *YayvestingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*YayvestingTransactor) TransferOwnership ¶
func (_Yayvesting *YayvestingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type YayvestingTransactorRaw ¶
type YayvestingTransactorRaw struct {
Contract *YayvestingTransactor // Generic write-only contract binding to access the raw methods on
}
YayvestingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*YayvestingTransactorRaw) Transact ¶
func (_Yayvesting *YayvestingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*YayvestingTransactorRaw) Transfer ¶
func (_Yayvesting *YayvestingTransactorRaw) 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 YayvestingTransactorSession ¶
type YayvestingTransactorSession struct { Contract *YayvestingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
YayvestingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*YayvestingTransactorSession) Claim ¶
func (_Yayvesting *YayvestingTransactorSession) Claim(_category *big.Int, _amount *big.Int, _merkleProof [][32]byte) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0xae0b51df.
Solidity: function claim(uint256 _category, uint256 _amount, bytes32[] _merkleProof) returns(uint256 _claimResult)
func (*YayvestingTransactorSession) EmergencyWithdrawal ¶
func (_Yayvesting *YayvestingTransactorSession) EmergencyWithdrawal(amount *big.Int) (*types.Transaction, error)
EmergencyWithdrawal is a paid mutator transaction binding the contract method 0x0039522c.
Solidity: function emergencyWithdrawal(uint256 amount) returns(bool)
func (*YayvestingTransactorSession) RenounceOwnership ¶
func (_Yayvesting *YayvestingTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*YayvestingTransactorSession) TransferOwnership ¶
func (_Yayvesting *YayvestingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()