hex_dapp

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HexStakeABI = HexStakeMetaData.ABI

HexStakeABI is the input ABI used to generate the binding from. Deprecated: Use HexStakeMetaData.ABI instead.

View Source
var HexStakeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes20\",\"name\":\"btcAddr\",\"type\":\"bytes20\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimToAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referrerAddr\",\"type\":\"address\"}],\"name\":\"Claim\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data2\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"senderAddr\",\"type\":\"address\"}],\"name\":\"ClaimAssist\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"updaterAddr\",\"type\":\"address\"}],\"name\":\"DailyDataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"stakeId\",\"type\":\"uint40\"}],\"name\":\"ShareRateChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakerAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"stakeId\",\"type\":\"uint40\"}],\"name\":\"StakeEnd\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakerAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"stakeId\",\"type\":\"uint40\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"senderAddr\",\"type\":\"address\"}],\"name\":\"StakeGoodAccounting\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakerAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint40\",\"name\":\"stakeId\",\"type\":\"uint40\"}],\"name\":\"StakeStart\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"memberAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"entryId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referrerAddr\",\"type\":\"address\"}],\"name\":\"XfLobbyEnter\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"data0\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"memberAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"entryId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referrerAddr\",\"type\":\"address\"}],\"name\":\"XfLobbyExit\",\"type\":\"event\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"constant\":true,\"inputs\":[],\"name\":\"allocatedSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"rawSatoshis\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"},{\"internalType\":\"address\",\"name\":\"claimToAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"pubKeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"pubKeyY\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"claimFlags\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"autoStakeDays\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrerAddr\",\"type\":\"address\"}],\"name\":\"btcAddressClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes20\",\"name\":\"\",\"type\":\"bytes20\"}],\"name\":\"btcAddressClaims\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes20\",\"name\":\"btcAddr\",\"type\":\"bytes20\"},{\"internalType\":\"uint256\",\"name\":\"rawSatoshis\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"btcAddressIsClaimable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes20\",\"name\":\"btcAddr\",\"type\":\"bytes20\"},{\"internalType\":\"uint256\",\"name\":\"rawSatoshis\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"btcAddressIsValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"claimToAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"claimParamHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"pubKeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"pubKeyY\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"claimFlags\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"claimMessageMatchesSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentDay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"dailyData\",\"outputs\":[{\"internalType\":\"uint72\",\"name\":\"dayPayoutTotal\",\"type\":\"uint72\"},{\"internalType\":\"uint72\",\"name\":\"dayStakeSharesTotal\",\"type\":\"uint72\"},{\"internalType\":\"uint56\",\"name\":\"dayUnclaimedSatoshisTotal\",\"type\":\"uint56\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"beginDay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endDay\",\"type\":\"uint256\"}],\"name\":\"dailyDataRange\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"list\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"beforeDay\",\"type\":\"uint256\"}],\"name\":\"dailyDataUpdate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"globalInfo\",\"outputs\":[{\"internalType\":\"uint256[13]\",\"name\":\"\",\"type\":\"uint256[13]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"globals\",\"outputs\":[{\"internalType\":\"uint72\",\"name\":\"lockedHeartsTotal\",\"type\":\"uint72\"},{\"internalType\":\"uint72\",\"name\":\"nextStakeSharesTotal\",\"type\":\"uint72\"},{\"internalType\":\"uint40\",\"name\":\"shareRate\",\"type\":\"uint40\"},{\"internalType\":\"uint72\",\"name\":\"stakePenaltyTotal\",\"type\":\"uint72\"},{\"internalType\":\"uint16\",\"name\":\"dailyDataCount\",\"type\":\"uint16\"},{\"internalType\":\"uint72\",\"name\":\"stakeSharesTotal\",\"type\":\"uint72\"},{\"internalType\":\"uint40\",\"name\":\"latestStakeId\",\"type\":\"uint40\"},{\"internalType\":\"uint128\",\"name\":\"claimStats\",\"type\":\"uint128\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"merkleLeaf\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"merkleProofIsValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"pubKeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"pubKeyY\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"claimFlags\",\"type\":\"uint8\"}],\"name\":\"pubKeyToBtcAddress\",\"outputs\":[{\"internalType\":\"bytes20\",\"name\":\"\",\"type\":\"bytes20\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"pubKeyX\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"pubKeyY\",\"type\":\"bytes32\"}],\"name\":\"pubKeyToEthAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakerAddr\",\"type\":\"address\"}],\"name\":\"stakeCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stakeIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"stakeIdParam\",\"type\":\"uint40\"}],\"name\":\"stakeEnd\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakerAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"stakeIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint40\",\"name\":\"stakeIdParam\",\"type\":\"uint40\"}],\"name\":\"stakeGoodAccounting\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stakeLists\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"stakeId\",\"type\":\"uint40\"},{\"internalType\":\"uint72\",\"name\":\"stakedHearts\",\"type\":\"uint72\"},{\"internalType\":\"uint72\",\"name\":\"stakeShares\",\"type\":\"uint72\"},{\"internalType\":\"uint16\",\"name\":\"lockedDay\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"stakedDays\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"unlockedDay\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"isAutoStake\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newStakedHearts\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newStakedDays\",\"type\":\"uint256\"}],\"name\":\"stakeStart\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"xfLobby\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"referrerAddr\",\"type\":\"address\"}],\"name\":\"xfLobbyEnter\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"memberAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"entryId\",\"type\":\"uint256\"}],\"name\":\"xfLobbyEntry\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rawAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"referrerAddr\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"enterDay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"xfLobbyExit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"xfLobbyFlush\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"xfLobbyMembers\",\"outputs\":[{\"internalType\":\"uint40\",\"name\":\"headIndex\",\"type\":\"uint40\"},{\"internalType\":\"uint40\",\"name\":\"tailIndex\",\"type\":\"uint40\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"memberAddr\",\"type\":\"address\"}],\"name\":\"xfLobbyPendingDays\",\"outputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"words\",\"type\":\"uint256[2]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"beginDay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endDay\",\"type\":\"uint256\"}],\"name\":\"xfLobbyRange\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"list\",\"type\":\"uint256[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

HexStakeMetaData contains all meta data concerning the HexStake contract.

Functions

This section is empty.

Types

type HexStake

type HexStake struct {
	HexStakeCaller     // Read-only binding to the contract
	HexStakeTransactor // Write-only binding to the contract
	HexStakeFilterer   // Log filterer for contract events
}

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

func NewHexStake

func NewHexStake(address common.Address, backend bind.ContractBackend) (*HexStake, error)

NewHexStake creates a new instance of HexStake, bound to a specific deployed contract.

type HexStakeApproval

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

HexStakeApproval represents a Approval event raised by the HexStake contract.

type HexStakeApprovalIterator

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

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

func (*HexStakeApprovalIterator) Close

func (it *HexStakeApprovalIterator) Close() error

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

func (*HexStakeApprovalIterator) Error

func (it *HexStakeApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeApprovalIterator) Next

func (it *HexStakeApprovalIterator) 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 HexStakeCaller

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

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

func NewHexStakeCaller

func NewHexStakeCaller(address common.Address, caller bind.ContractCaller) (*HexStakeCaller, error)

NewHexStakeCaller creates a new read-only instance of HexStake, bound to a specific deployed contract.

func (*HexStakeCaller) AllocatedSupply

func (_HexStake *HexStakeCaller) AllocatedSupply(opts *bind.CallOpts) (*big.Int, error)

AllocatedSupply is a free data retrieval call binding the contract method 0x3a70a5ca.

Solidity: function allocatedSupply() view returns(uint256)

func (*HexStakeCaller) Allowance

func (_HexStake *HexStakeCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*HexStakeCaller) BalanceOf

func (_HexStake *HexStakeCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*HexStakeCaller) BtcAddressClaims

func (_HexStake *HexStakeCaller) BtcAddressClaims(opts *bind.CallOpts, arg0 [20]byte) (bool, error)

BtcAddressClaims is a free data retrieval call binding the contract method 0x7c426620.

Solidity: function btcAddressClaims(bytes20 ) view returns(bool)

func (*HexStakeCaller) BtcAddressIsClaimable

func (_HexStake *HexStakeCaller) BtcAddressIsClaimable(opts *bind.CallOpts, btcAddr [20]byte, rawSatoshis *big.Int, proof [][32]byte) (bool, error)

BtcAddressIsClaimable is a free data retrieval call binding the contract method 0x8e21aa01.

Solidity: function btcAddressIsClaimable(bytes20 btcAddr, uint256 rawSatoshis, bytes32[] proof) view returns(bool)

func (*HexStakeCaller) BtcAddressIsValid

func (_HexStake *HexStakeCaller) BtcAddressIsValid(opts *bind.CallOpts, btcAddr [20]byte, rawSatoshis *big.Int, proof [][32]byte) (bool, error)

BtcAddressIsValid is a free data retrieval call binding the contract method 0xec9a1917.

Solidity: function btcAddressIsValid(bytes20 btcAddr, uint256 rawSatoshis, bytes32[] proof) pure returns(bool)

func (*HexStakeCaller) ClaimMessageMatchesSignature

func (_HexStake *HexStakeCaller) ClaimMessageMatchesSignature(opts *bind.CallOpts, claimToAddr common.Address, claimParamHash [32]byte, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8, v uint8, r [32]byte, s [32]byte) (bool, error)

ClaimMessageMatchesSignature is a free data retrieval call binding the contract method 0xd5a373ff.

Solidity: function claimMessageMatchesSignature(address claimToAddr, bytes32 claimParamHash, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s) pure returns(bool)

func (*HexStakeCaller) CurrentDay

func (_HexStake *HexStakeCaller) CurrentDay(opts *bind.CallOpts) (*big.Int, error)

CurrentDay is a free data retrieval call binding the contract method 0x5c9302c9.

Solidity: function currentDay() view returns(uint256)

func (*HexStakeCaller) DailyData

func (_HexStake *HexStakeCaller) DailyData(opts *bind.CallOpts, arg0 *big.Int) (struct {
	DayPayoutTotal            *big.Int
	DayStakeSharesTotal       *big.Int
	DayUnclaimedSatoshisTotal *big.Int
}, error)

DailyData is a free data retrieval call binding the contract method 0x90de6871.

Solidity: function dailyData(uint256 ) view returns(uint72 dayPayoutTotal, uint72 dayStakeSharesTotal, uint56 dayUnclaimedSatoshisTotal)

func (*HexStakeCaller) DailyDataRange

func (_HexStake *HexStakeCaller) DailyDataRange(opts *bind.CallOpts, beginDay *big.Int, endDay *big.Int) ([]*big.Int, error)

DailyDataRange is a free data retrieval call binding the contract method 0x6a210a0e.

Solidity: function dailyDataRange(uint256 beginDay, uint256 endDay) view returns(uint256[] list)

func (*HexStakeCaller) Decimals

func (_HexStake *HexStakeCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HexStakeCaller) GlobalInfo

func (_HexStake *HexStakeCaller) GlobalInfo(opts *bind.CallOpts) ([13]*big.Int, error)

GlobalInfo is a free data retrieval call binding the contract method 0xf04b5fa0.

Solidity: function globalInfo() view returns(uint256[13])

func (*HexStakeCaller) Globals

func (_HexStake *HexStakeCaller) Globals(opts *bind.CallOpts) (struct {
	LockedHeartsTotal    *big.Int
	NextStakeSharesTotal *big.Int
	ShareRate            *big.Int
	StakePenaltyTotal    *big.Int
	DailyDataCount       uint16
	StakeSharesTotal     *big.Int
	LatestStakeId        *big.Int
	ClaimStats           *big.Int
}, error)

Globals is a free data retrieval call binding the contract method 0xc3124525.

Solidity: function globals() view returns(uint72 lockedHeartsTotal, uint72 nextStakeSharesTotal, uint40 shareRate, uint72 stakePenaltyTotal, uint16 dailyDataCount, uint72 stakeSharesTotal, uint40 latestStakeId, uint128 claimStats)

func (*HexStakeCaller) MerkleProofIsValid

func (_HexStake *HexStakeCaller) MerkleProofIsValid(opts *bind.CallOpts, merkleLeaf [32]byte, proof [][32]byte) (bool, error)

MerkleProofIsValid is a free data retrieval call binding the contract method 0x27aa6018.

Solidity: function merkleProofIsValid(bytes32 merkleLeaf, bytes32[] proof) pure returns(bool)

func (*HexStakeCaller) Name

func (_HexStake *HexStakeCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*HexStakeCaller) PubKeyToBtcAddress

func (_HexStake *HexStakeCaller) PubKeyToBtcAddress(opts *bind.CallOpts, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8) ([20]byte, error)

PubKeyToBtcAddress is a free data retrieval call binding the contract method 0x283a5baf.

Solidity: function pubKeyToBtcAddress(bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags) pure returns(bytes20)

func (*HexStakeCaller) PubKeyToEthAddress

func (_HexStake *HexStakeCaller) PubKeyToEthAddress(opts *bind.CallOpts, pubKeyX [32]byte, pubKeyY [32]byte) (common.Address, error)

PubKeyToEthAddress is a free data retrieval call binding the contract method 0x30c1a785.

Solidity: function pubKeyToEthAddress(bytes32 pubKeyX, bytes32 pubKeyY) pure returns(address)

func (*HexStakeCaller) StakeCount

func (_HexStake *HexStakeCaller) StakeCount(opts *bind.CallOpts, stakerAddr common.Address) (*big.Int, error)

StakeCount is a free data retrieval call binding the contract method 0x33060d90.

Solidity: function stakeCount(address stakerAddr) view returns(uint256)

func (*HexStakeCaller) StakeLists

func (_HexStake *HexStakeCaller) StakeLists(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	StakeId      *big.Int
	StakedHearts *big.Int
	StakeShares  *big.Int
	LockedDay    uint16
	StakedDays   uint16
	UnlockedDay  uint16
	IsAutoStake  bool
}, error)

StakeLists is a free data retrieval call binding the contract method 0x2607443b.

Solidity: function stakeLists(address , uint256 ) view returns(uint40 stakeId, uint72 stakedHearts, uint72 stakeShares, uint16 lockedDay, uint16 stakedDays, uint16 unlockedDay, bool isAutoStake)

func (*HexStakeCaller) Symbol

func (_HexStake *HexStakeCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*HexStakeCaller) TotalSupply

func (_HexStake *HexStakeCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HexStakeCaller) XfLobby

func (_HexStake *HexStakeCaller) XfLobby(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

XfLobby is a free data retrieval call binding the contract method 0x87a0f31c.

Solidity: function xfLobby(uint256 ) view returns(uint256)

func (*HexStakeCaller) XfLobbyEntry

func (_HexStake *HexStakeCaller) XfLobbyEntry(opts *bind.CallOpts, memberAddr common.Address, entryId *big.Int) (struct {
	RawAmount    *big.Int
	ReferrerAddr common.Address
}, error)

XfLobbyEntry is a free data retrieval call binding the contract method 0xbd926ed3.

Solidity: function xfLobbyEntry(address memberAddr, uint256 entryId) view returns(uint256 rawAmount, address referrerAddr)

func (*HexStakeCaller) XfLobbyMembers

func (_HexStake *HexStakeCaller) XfLobbyMembers(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	HeadIndex *big.Int
	TailIndex *big.Int
}, error)

XfLobbyMembers is a free data retrieval call binding the contract method 0x44203faf.

Solidity: function xfLobbyMembers(uint256 , address ) view returns(uint40 headIndex, uint40 tailIndex)

func (*HexStakeCaller) XfLobbyPendingDays

func (_HexStake *HexStakeCaller) XfLobbyPendingDays(opts *bind.CallOpts, memberAddr common.Address) ([2]*big.Int, error)

XfLobbyPendingDays is a free data retrieval call binding the contract method 0x44f0de75.

Solidity: function xfLobbyPendingDays(address memberAddr) view returns(uint256[2] words)

func (*HexStakeCaller) XfLobbyRange

func (_HexStake *HexStakeCaller) XfLobbyRange(opts *bind.CallOpts, beginDay *big.Int, endDay *big.Int) ([]*big.Int, error)

XfLobbyRange is a free data retrieval call binding the contract method 0xf57a1b3c.

Solidity: function xfLobbyRange(uint256 beginDay, uint256 endDay) view returns(uint256[] list)

type HexStakeCallerRaw

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

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

func (*HexStakeCallerRaw) Call

func (_HexStake *HexStakeCallerRaw) 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 HexStakeCallerSession

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

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

func (*HexStakeCallerSession) AllocatedSupply

func (_HexStake *HexStakeCallerSession) AllocatedSupply() (*big.Int, error)

AllocatedSupply is a free data retrieval call binding the contract method 0x3a70a5ca.

Solidity: function allocatedSupply() view returns(uint256)

func (*HexStakeCallerSession) Allowance

func (_HexStake *HexStakeCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*HexStakeCallerSession) BalanceOf

func (_HexStake *HexStakeCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*HexStakeCallerSession) BtcAddressClaims

func (_HexStake *HexStakeCallerSession) BtcAddressClaims(arg0 [20]byte) (bool, error)

BtcAddressClaims is a free data retrieval call binding the contract method 0x7c426620.

Solidity: function btcAddressClaims(bytes20 ) view returns(bool)

func (*HexStakeCallerSession) BtcAddressIsClaimable

func (_HexStake *HexStakeCallerSession) BtcAddressIsClaimable(btcAddr [20]byte, rawSatoshis *big.Int, proof [][32]byte) (bool, error)

BtcAddressIsClaimable is a free data retrieval call binding the contract method 0x8e21aa01.

Solidity: function btcAddressIsClaimable(bytes20 btcAddr, uint256 rawSatoshis, bytes32[] proof) view returns(bool)

func (*HexStakeCallerSession) BtcAddressIsValid

func (_HexStake *HexStakeCallerSession) BtcAddressIsValid(btcAddr [20]byte, rawSatoshis *big.Int, proof [][32]byte) (bool, error)

BtcAddressIsValid is a free data retrieval call binding the contract method 0xec9a1917.

Solidity: function btcAddressIsValid(bytes20 btcAddr, uint256 rawSatoshis, bytes32[] proof) pure returns(bool)

func (*HexStakeCallerSession) ClaimMessageMatchesSignature

func (_HexStake *HexStakeCallerSession) ClaimMessageMatchesSignature(claimToAddr common.Address, claimParamHash [32]byte, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8, v uint8, r [32]byte, s [32]byte) (bool, error)

ClaimMessageMatchesSignature is a free data retrieval call binding the contract method 0xd5a373ff.

Solidity: function claimMessageMatchesSignature(address claimToAddr, bytes32 claimParamHash, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s) pure returns(bool)

func (*HexStakeCallerSession) CurrentDay

func (_HexStake *HexStakeCallerSession) CurrentDay() (*big.Int, error)

CurrentDay is a free data retrieval call binding the contract method 0x5c9302c9.

Solidity: function currentDay() view returns(uint256)

func (*HexStakeCallerSession) DailyData

func (_HexStake *HexStakeCallerSession) DailyData(arg0 *big.Int) (struct {
	DayPayoutTotal            *big.Int
	DayStakeSharesTotal       *big.Int
	DayUnclaimedSatoshisTotal *big.Int
}, error)

DailyData is a free data retrieval call binding the contract method 0x90de6871.

Solidity: function dailyData(uint256 ) view returns(uint72 dayPayoutTotal, uint72 dayStakeSharesTotal, uint56 dayUnclaimedSatoshisTotal)

func (*HexStakeCallerSession) DailyDataRange

func (_HexStake *HexStakeCallerSession) DailyDataRange(beginDay *big.Int, endDay *big.Int) ([]*big.Int, error)

DailyDataRange is a free data retrieval call binding the contract method 0x6a210a0e.

Solidity: function dailyDataRange(uint256 beginDay, uint256 endDay) view returns(uint256[] list)

func (*HexStakeCallerSession) Decimals

func (_HexStake *HexStakeCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HexStakeCallerSession) GlobalInfo

func (_HexStake *HexStakeCallerSession) GlobalInfo() ([13]*big.Int, error)

GlobalInfo is a free data retrieval call binding the contract method 0xf04b5fa0.

Solidity: function globalInfo() view returns(uint256[13])

func (*HexStakeCallerSession) Globals

func (_HexStake *HexStakeCallerSession) Globals() (struct {
	LockedHeartsTotal    *big.Int
	NextStakeSharesTotal *big.Int
	ShareRate            *big.Int
	StakePenaltyTotal    *big.Int
	DailyDataCount       uint16
	StakeSharesTotal     *big.Int
	LatestStakeId        *big.Int
	ClaimStats           *big.Int
}, error)

Globals is a free data retrieval call binding the contract method 0xc3124525.

Solidity: function globals() view returns(uint72 lockedHeartsTotal, uint72 nextStakeSharesTotal, uint40 shareRate, uint72 stakePenaltyTotal, uint16 dailyDataCount, uint72 stakeSharesTotal, uint40 latestStakeId, uint128 claimStats)

func (*HexStakeCallerSession) MerkleProofIsValid

func (_HexStake *HexStakeCallerSession) MerkleProofIsValid(merkleLeaf [32]byte, proof [][32]byte) (bool, error)

MerkleProofIsValid is a free data retrieval call binding the contract method 0x27aa6018.

Solidity: function merkleProofIsValid(bytes32 merkleLeaf, bytes32[] proof) pure returns(bool)

func (*HexStakeCallerSession) Name

func (_HexStake *HexStakeCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HexStakeCallerSession) PubKeyToBtcAddress

func (_HexStake *HexStakeCallerSession) PubKeyToBtcAddress(pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8) ([20]byte, error)

PubKeyToBtcAddress is a free data retrieval call binding the contract method 0x283a5baf.

Solidity: function pubKeyToBtcAddress(bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags) pure returns(bytes20)

func (*HexStakeCallerSession) PubKeyToEthAddress

func (_HexStake *HexStakeCallerSession) PubKeyToEthAddress(pubKeyX [32]byte, pubKeyY [32]byte) (common.Address, error)

PubKeyToEthAddress is a free data retrieval call binding the contract method 0x30c1a785.

Solidity: function pubKeyToEthAddress(bytes32 pubKeyX, bytes32 pubKeyY) pure returns(address)

func (*HexStakeCallerSession) StakeCount

func (_HexStake *HexStakeCallerSession) StakeCount(stakerAddr common.Address) (*big.Int, error)

StakeCount is a free data retrieval call binding the contract method 0x33060d90.

Solidity: function stakeCount(address stakerAddr) view returns(uint256)

func (*HexStakeCallerSession) StakeLists

func (_HexStake *HexStakeCallerSession) StakeLists(arg0 common.Address, arg1 *big.Int) (struct {
	StakeId      *big.Int
	StakedHearts *big.Int
	StakeShares  *big.Int
	LockedDay    uint16
	StakedDays   uint16
	UnlockedDay  uint16
	IsAutoStake  bool
}, error)

StakeLists is a free data retrieval call binding the contract method 0x2607443b.

Solidity: function stakeLists(address , uint256 ) view returns(uint40 stakeId, uint72 stakedHearts, uint72 stakeShares, uint16 lockedDay, uint16 stakedDays, uint16 unlockedDay, bool isAutoStake)

func (*HexStakeCallerSession) Symbol

func (_HexStake *HexStakeCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HexStakeCallerSession) TotalSupply

func (_HexStake *HexStakeCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HexStakeCallerSession) XfLobby

func (_HexStake *HexStakeCallerSession) XfLobby(arg0 *big.Int) (*big.Int, error)

XfLobby is a free data retrieval call binding the contract method 0x87a0f31c.

Solidity: function xfLobby(uint256 ) view returns(uint256)

func (*HexStakeCallerSession) XfLobbyEntry

func (_HexStake *HexStakeCallerSession) XfLobbyEntry(memberAddr common.Address, entryId *big.Int) (struct {
	RawAmount    *big.Int
	ReferrerAddr common.Address
}, error)

XfLobbyEntry is a free data retrieval call binding the contract method 0xbd926ed3.

Solidity: function xfLobbyEntry(address memberAddr, uint256 entryId) view returns(uint256 rawAmount, address referrerAddr)

func (*HexStakeCallerSession) XfLobbyMembers

func (_HexStake *HexStakeCallerSession) XfLobbyMembers(arg0 *big.Int, arg1 common.Address) (struct {
	HeadIndex *big.Int
	TailIndex *big.Int
}, error)

XfLobbyMembers is a free data retrieval call binding the contract method 0x44203faf.

Solidity: function xfLobbyMembers(uint256 , address ) view returns(uint40 headIndex, uint40 tailIndex)

func (*HexStakeCallerSession) XfLobbyPendingDays

func (_HexStake *HexStakeCallerSession) XfLobbyPendingDays(memberAddr common.Address) ([2]*big.Int, error)

XfLobbyPendingDays is a free data retrieval call binding the contract method 0x44f0de75.

Solidity: function xfLobbyPendingDays(address memberAddr) view returns(uint256[2] words)

func (*HexStakeCallerSession) XfLobbyRange

func (_HexStake *HexStakeCallerSession) XfLobbyRange(beginDay *big.Int, endDay *big.Int) ([]*big.Int, error)

XfLobbyRange is a free data retrieval call binding the contract method 0xf57a1b3c.

Solidity: function xfLobbyRange(uint256 beginDay, uint256 endDay) view returns(uint256[] list)

type HexStakeClaim

type HexStakeClaim struct {
	Data0        *big.Int
	Data1        *big.Int
	BtcAddr      [20]byte
	ClaimToAddr  common.Address
	ReferrerAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

HexStakeClaim represents a Claim event raised by the HexStake contract.

type HexStakeClaimAssist

type HexStakeClaimAssist struct {
	Data0      *big.Int
	Data1      *big.Int
	Data2      *big.Int
	SenderAddr common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

HexStakeClaimAssist represents a ClaimAssist event raised by the HexStake contract.

type HexStakeClaimAssistIterator

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

HexStakeClaimAssistIterator is returned from FilterClaimAssist and is used to iterate over the raw logs and unpacked data for ClaimAssist events raised by the HexStake contract.

func (*HexStakeClaimAssistIterator) Close

func (it *HexStakeClaimAssistIterator) Close() error

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

func (*HexStakeClaimAssistIterator) Error

func (it *HexStakeClaimAssistIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeClaimAssistIterator) Next

func (it *HexStakeClaimAssistIterator) 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 HexStakeClaimIterator

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

HexStakeClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the HexStake contract.

func (*HexStakeClaimIterator) Close

func (it *HexStakeClaimIterator) Close() error

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

func (*HexStakeClaimIterator) Error

func (it *HexStakeClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeClaimIterator) Next

func (it *HexStakeClaimIterator) 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 HexStakeDailyDataUpdate

type HexStakeDailyDataUpdate struct {
	Data0       *big.Int
	UpdaterAddr common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

HexStakeDailyDataUpdate represents a DailyDataUpdate event raised by the HexStake contract.

type HexStakeDailyDataUpdateIterator

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

HexStakeDailyDataUpdateIterator is returned from FilterDailyDataUpdate and is used to iterate over the raw logs and unpacked data for DailyDataUpdate events raised by the HexStake contract.

func (*HexStakeDailyDataUpdateIterator) Close

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

func (*HexStakeDailyDataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeDailyDataUpdateIterator) Next

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

type HexStakeFilterer

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

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

func NewHexStakeFilterer

func NewHexStakeFilterer(address common.Address, filterer bind.ContractFilterer) (*HexStakeFilterer, error)

NewHexStakeFilterer creates a new log filterer instance of HexStake, bound to a specific deployed contract.

func (*HexStakeFilterer) FilterApproval

func (_HexStake *HexStakeFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*HexStakeApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*HexStakeFilterer) FilterClaim

func (_HexStake *HexStakeFilterer) FilterClaim(opts *bind.FilterOpts, btcAddr [][20]byte, claimToAddr []common.Address, referrerAddr []common.Address) (*HexStakeClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x41e3c7dc6eebc97a48a437ff2afdc629613f12c48ba37a2c94563f80acba9725.

Solidity: event Claim(uint256 data0, uint256 data1, bytes20 indexed btcAddr, address indexed claimToAddr, address indexed referrerAddr)

func (*HexStakeFilterer) FilterClaimAssist

func (_HexStake *HexStakeFilterer) FilterClaimAssist(opts *bind.FilterOpts, senderAddr []common.Address) (*HexStakeClaimAssistIterator, error)

FilterClaimAssist is a free log retrieval operation binding the contract event 0x3a84b2d9dac24683628d63034c6949797f15fab735e16232518ee4e753fd49b7.

Solidity: event ClaimAssist(uint256 data0, uint256 data1, uint256 data2, address indexed senderAddr)

func (*HexStakeFilterer) FilterDailyDataUpdate

func (_HexStake *HexStakeFilterer) FilterDailyDataUpdate(opts *bind.FilterOpts, updaterAddr []common.Address) (*HexStakeDailyDataUpdateIterator, error)

FilterDailyDataUpdate is a free log retrieval operation binding the contract event 0xb8d6eb541ded1720cc657b719f57abcb1fe4711cb7ead82751b135f5d94bc944.

Solidity: event DailyDataUpdate(uint256 data0, address indexed updaterAddr)

func (*HexStakeFilterer) FilterShareRateChange

func (_HexStake *HexStakeFilterer) FilterShareRateChange(opts *bind.FilterOpts, stakeId []*big.Int) (*HexStakeShareRateChangeIterator, error)

FilterShareRateChange is a free log retrieval operation binding the contract event 0x9861fa0ed101659f7a59b4583fcc798dfa4f3b419bea371c8ee2ad0ffe13a31e.

Solidity: event ShareRateChange(uint256 data0, uint40 indexed stakeId)

func (*HexStakeFilterer) FilterStakeEnd

func (_HexStake *HexStakeFilterer) FilterStakeEnd(opts *bind.FilterOpts, stakerAddr []common.Address, stakeId []*big.Int) (*HexStakeStakeEndIterator, error)

FilterStakeEnd is a free log retrieval operation binding the contract event 0x72d9c5a7ab13846e08d9c838f9e866a1bb4a66a2fd3ba3c9e7da3cf9e394dfd7.

Solidity: event StakeEnd(uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId)

func (*HexStakeFilterer) FilterStakeGoodAccounting

func (_HexStake *HexStakeFilterer) FilterStakeGoodAccounting(opts *bind.FilterOpts, stakerAddr []common.Address, stakeId []*big.Int, senderAddr []common.Address) (*HexStakeStakeGoodAccountingIterator, error)

FilterStakeGoodAccounting is a free log retrieval operation binding the contract event 0xd824970a2cf19cc2b630c87ce5b00f67301cac3ac60513d027c7a39129f93b46.

Solidity: event StakeGoodAccounting(uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId, address indexed senderAddr)

func (*HexStakeFilterer) FilterStakeStart

func (_HexStake *HexStakeFilterer) FilterStakeStart(opts *bind.FilterOpts, stakerAddr []common.Address, stakeId []*big.Int) (*HexStakeStakeStartIterator, error)

FilterStakeStart is a free log retrieval operation binding the contract event 0x14872dc760f33532684e68e1b6d5fd3f71ba7b07dee76bdb2b084f28b74233ef.

Solidity: event StakeStart(uint256 data0, address indexed stakerAddr, uint40 indexed stakeId)

func (*HexStakeFilterer) FilterTransfer

func (_HexStake *HexStakeFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*HexStakeTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*HexStakeFilterer) FilterXfLobbyEnter

func (_HexStake *HexStakeFilterer) FilterXfLobbyEnter(opts *bind.FilterOpts, memberAddr []common.Address, entryId []*big.Int, referrerAddr []common.Address) (*HexStakeXfLobbyEnterIterator, error)

FilterXfLobbyEnter is a free log retrieval operation binding the contract event 0x25ecdb937d5c5cc78f0d18dfb1ac82c44086b5dc608380ba357d06c9868f0b1d.

Solidity: event XfLobbyEnter(uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr)

func (*HexStakeFilterer) FilterXfLobbyExit

func (_HexStake *HexStakeFilterer) FilterXfLobbyExit(opts *bind.FilterOpts, memberAddr []common.Address, entryId []*big.Int, referrerAddr []common.Address) (*HexStakeXfLobbyExitIterator, error)

FilterXfLobbyExit is a free log retrieval operation binding the contract event 0xa6b19fa7f41317a186e1d58e9d81f86a52f1102b6bce10b4eca83f37aaa58468.

Solidity: event XfLobbyExit(uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr)

func (*HexStakeFilterer) ParseApproval

func (_HexStake *HexStakeFilterer) ParseApproval(log types.Log) (*HexStakeApproval, error)

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

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

func (*HexStakeFilterer) ParseClaim

func (_HexStake *HexStakeFilterer) ParseClaim(log types.Log) (*HexStakeClaim, error)

ParseClaim is a log parse operation binding the contract event 0x41e3c7dc6eebc97a48a437ff2afdc629613f12c48ba37a2c94563f80acba9725.

Solidity: event Claim(uint256 data0, uint256 data1, bytes20 indexed btcAddr, address indexed claimToAddr, address indexed referrerAddr)

func (*HexStakeFilterer) ParseClaimAssist

func (_HexStake *HexStakeFilterer) ParseClaimAssist(log types.Log) (*HexStakeClaimAssist, error)

ParseClaimAssist is a log parse operation binding the contract event 0x3a84b2d9dac24683628d63034c6949797f15fab735e16232518ee4e753fd49b7.

Solidity: event ClaimAssist(uint256 data0, uint256 data1, uint256 data2, address indexed senderAddr)

func (*HexStakeFilterer) ParseDailyDataUpdate

func (_HexStake *HexStakeFilterer) ParseDailyDataUpdate(log types.Log) (*HexStakeDailyDataUpdate, error)

ParseDailyDataUpdate is a log parse operation binding the contract event 0xb8d6eb541ded1720cc657b719f57abcb1fe4711cb7ead82751b135f5d94bc944.

Solidity: event DailyDataUpdate(uint256 data0, address indexed updaterAddr)

func (*HexStakeFilterer) ParseShareRateChange

func (_HexStake *HexStakeFilterer) ParseShareRateChange(log types.Log) (*HexStakeShareRateChange, error)

ParseShareRateChange is a log parse operation binding the contract event 0x9861fa0ed101659f7a59b4583fcc798dfa4f3b419bea371c8ee2ad0ffe13a31e.

Solidity: event ShareRateChange(uint256 data0, uint40 indexed stakeId)

func (*HexStakeFilterer) ParseStakeEnd

func (_HexStake *HexStakeFilterer) ParseStakeEnd(log types.Log) (*HexStakeStakeEnd, error)

ParseStakeEnd is a log parse operation binding the contract event 0x72d9c5a7ab13846e08d9c838f9e866a1bb4a66a2fd3ba3c9e7da3cf9e394dfd7.

Solidity: event StakeEnd(uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId)

func (*HexStakeFilterer) ParseStakeGoodAccounting

func (_HexStake *HexStakeFilterer) ParseStakeGoodAccounting(log types.Log) (*HexStakeStakeGoodAccounting, error)

ParseStakeGoodAccounting is a log parse operation binding the contract event 0xd824970a2cf19cc2b630c87ce5b00f67301cac3ac60513d027c7a39129f93b46.

Solidity: event StakeGoodAccounting(uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId, address indexed senderAddr)

func (*HexStakeFilterer) ParseStakeStart

func (_HexStake *HexStakeFilterer) ParseStakeStart(log types.Log) (*HexStakeStakeStart, error)

ParseStakeStart is a log parse operation binding the contract event 0x14872dc760f33532684e68e1b6d5fd3f71ba7b07dee76bdb2b084f28b74233ef.

Solidity: event StakeStart(uint256 data0, address indexed stakerAddr, uint40 indexed stakeId)

func (*HexStakeFilterer) ParseTransfer

func (_HexStake *HexStakeFilterer) ParseTransfer(log types.Log) (*HexStakeTransfer, error)

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

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

func (*HexStakeFilterer) ParseXfLobbyEnter

func (_HexStake *HexStakeFilterer) ParseXfLobbyEnter(log types.Log) (*HexStakeXfLobbyEnter, error)

ParseXfLobbyEnter is a log parse operation binding the contract event 0x25ecdb937d5c5cc78f0d18dfb1ac82c44086b5dc608380ba357d06c9868f0b1d.

Solidity: event XfLobbyEnter(uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr)

func (*HexStakeFilterer) ParseXfLobbyExit

func (_HexStake *HexStakeFilterer) ParseXfLobbyExit(log types.Log) (*HexStakeXfLobbyExit, error)

ParseXfLobbyExit is a log parse operation binding the contract event 0xa6b19fa7f41317a186e1d58e9d81f86a52f1102b6bce10b4eca83f37aaa58468.

Solidity: event XfLobbyExit(uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr)

func (*HexStakeFilterer) WatchApproval

func (_HexStake *HexStakeFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *HexStakeApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

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

func (*HexStakeFilterer) WatchClaim

func (_HexStake *HexStakeFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *HexStakeClaim, btcAddr [][20]byte, claimToAddr []common.Address, referrerAddr []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x41e3c7dc6eebc97a48a437ff2afdc629613f12c48ba37a2c94563f80acba9725.

Solidity: event Claim(uint256 data0, uint256 data1, bytes20 indexed btcAddr, address indexed claimToAddr, address indexed referrerAddr)

func (*HexStakeFilterer) WatchClaimAssist

func (_HexStake *HexStakeFilterer) WatchClaimAssist(opts *bind.WatchOpts, sink chan<- *HexStakeClaimAssist, senderAddr []common.Address) (event.Subscription, error)

WatchClaimAssist is a free log subscription operation binding the contract event 0x3a84b2d9dac24683628d63034c6949797f15fab735e16232518ee4e753fd49b7.

Solidity: event ClaimAssist(uint256 data0, uint256 data1, uint256 data2, address indexed senderAddr)

func (*HexStakeFilterer) WatchDailyDataUpdate

func (_HexStake *HexStakeFilterer) WatchDailyDataUpdate(opts *bind.WatchOpts, sink chan<- *HexStakeDailyDataUpdate, updaterAddr []common.Address) (event.Subscription, error)

WatchDailyDataUpdate is a free log subscription operation binding the contract event 0xb8d6eb541ded1720cc657b719f57abcb1fe4711cb7ead82751b135f5d94bc944.

Solidity: event DailyDataUpdate(uint256 data0, address indexed updaterAddr)

func (*HexStakeFilterer) WatchShareRateChange

func (_HexStake *HexStakeFilterer) WatchShareRateChange(opts *bind.WatchOpts, sink chan<- *HexStakeShareRateChange, stakeId []*big.Int) (event.Subscription, error)

WatchShareRateChange is a free log subscription operation binding the contract event 0x9861fa0ed101659f7a59b4583fcc798dfa4f3b419bea371c8ee2ad0ffe13a31e.

Solidity: event ShareRateChange(uint256 data0, uint40 indexed stakeId)

func (*HexStakeFilterer) WatchStakeEnd

func (_HexStake *HexStakeFilterer) WatchStakeEnd(opts *bind.WatchOpts, sink chan<- *HexStakeStakeEnd, stakerAddr []common.Address, stakeId []*big.Int) (event.Subscription, error)

WatchStakeEnd is a free log subscription operation binding the contract event 0x72d9c5a7ab13846e08d9c838f9e866a1bb4a66a2fd3ba3c9e7da3cf9e394dfd7.

Solidity: event StakeEnd(uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId)

func (*HexStakeFilterer) WatchStakeGoodAccounting

func (_HexStake *HexStakeFilterer) WatchStakeGoodAccounting(opts *bind.WatchOpts, sink chan<- *HexStakeStakeGoodAccounting, stakerAddr []common.Address, stakeId []*big.Int, senderAddr []common.Address) (event.Subscription, error)

WatchStakeGoodAccounting is a free log subscription operation binding the contract event 0xd824970a2cf19cc2b630c87ce5b00f67301cac3ac60513d027c7a39129f93b46.

Solidity: event StakeGoodAccounting(uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId, address indexed senderAddr)

func (*HexStakeFilterer) WatchStakeStart

func (_HexStake *HexStakeFilterer) WatchStakeStart(opts *bind.WatchOpts, sink chan<- *HexStakeStakeStart, stakerAddr []common.Address, stakeId []*big.Int) (event.Subscription, error)

WatchStakeStart is a free log subscription operation binding the contract event 0x14872dc760f33532684e68e1b6d5fd3f71ba7b07dee76bdb2b084f28b74233ef.

Solidity: event StakeStart(uint256 data0, address indexed stakerAddr, uint40 indexed stakeId)

func (*HexStakeFilterer) WatchTransfer

func (_HexStake *HexStakeFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *HexStakeTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*HexStakeFilterer) WatchXfLobbyEnter

func (_HexStake *HexStakeFilterer) WatchXfLobbyEnter(opts *bind.WatchOpts, sink chan<- *HexStakeXfLobbyEnter, memberAddr []common.Address, entryId []*big.Int, referrerAddr []common.Address) (event.Subscription, error)

WatchXfLobbyEnter is a free log subscription operation binding the contract event 0x25ecdb937d5c5cc78f0d18dfb1ac82c44086b5dc608380ba357d06c9868f0b1d.

Solidity: event XfLobbyEnter(uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr)

func (*HexStakeFilterer) WatchXfLobbyExit

func (_HexStake *HexStakeFilterer) WatchXfLobbyExit(opts *bind.WatchOpts, sink chan<- *HexStakeXfLobbyExit, memberAddr []common.Address, entryId []*big.Int, referrerAddr []common.Address) (event.Subscription, error)

WatchXfLobbyExit is a free log subscription operation binding the contract event 0xa6b19fa7f41317a186e1d58e9d81f86a52f1102b6bce10b4eca83f37aaa58468.

Solidity: event XfLobbyExit(uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr)

type HexStakeRaw

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

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

func (*HexStakeRaw) Call

func (_HexStake *HexStakeRaw) 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 (*HexStakeRaw) Transact

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

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

func (*HexStakeRaw) Transfer

func (_HexStake *HexStakeRaw) 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 HexStakeSession

type HexStakeSession struct {
	Contract     *HexStake         // 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
}

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

func (*HexStakeSession) AllocatedSupply

func (_HexStake *HexStakeSession) AllocatedSupply() (*big.Int, error)

AllocatedSupply is a free data retrieval call binding the contract method 0x3a70a5ca.

Solidity: function allocatedSupply() view returns(uint256)

func (*HexStakeSession) Allowance

func (_HexStake *HexStakeSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*HexStakeSession) Approve

func (_HexStake *HexStakeSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*HexStakeSession) BalanceOf

func (_HexStake *HexStakeSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*HexStakeSession) BtcAddressClaim

func (_HexStake *HexStakeSession) BtcAddressClaim(rawSatoshis *big.Int, proof [][32]byte, claimToAddr common.Address, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8, v uint8, r [32]byte, s [32]byte, autoStakeDays *big.Int, referrerAddr common.Address) (*types.Transaction, error)

BtcAddressClaim is a paid mutator transaction binding the contract method 0x96f62b9d.

Solidity: function btcAddressClaim(uint256 rawSatoshis, bytes32[] proof, address claimToAddr, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s, uint256 autoStakeDays, address referrerAddr) returns(uint256)

func (*HexStakeSession) BtcAddressClaims

func (_HexStake *HexStakeSession) BtcAddressClaims(arg0 [20]byte) (bool, error)

BtcAddressClaims is a free data retrieval call binding the contract method 0x7c426620.

Solidity: function btcAddressClaims(bytes20 ) view returns(bool)

func (*HexStakeSession) BtcAddressIsClaimable

func (_HexStake *HexStakeSession) BtcAddressIsClaimable(btcAddr [20]byte, rawSatoshis *big.Int, proof [][32]byte) (bool, error)

BtcAddressIsClaimable is a free data retrieval call binding the contract method 0x8e21aa01.

Solidity: function btcAddressIsClaimable(bytes20 btcAddr, uint256 rawSatoshis, bytes32[] proof) view returns(bool)

func (*HexStakeSession) BtcAddressIsValid

func (_HexStake *HexStakeSession) BtcAddressIsValid(btcAddr [20]byte, rawSatoshis *big.Int, proof [][32]byte) (bool, error)

BtcAddressIsValid is a free data retrieval call binding the contract method 0xec9a1917.

Solidity: function btcAddressIsValid(bytes20 btcAddr, uint256 rawSatoshis, bytes32[] proof) pure returns(bool)

func (*HexStakeSession) ClaimMessageMatchesSignature

func (_HexStake *HexStakeSession) ClaimMessageMatchesSignature(claimToAddr common.Address, claimParamHash [32]byte, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8, v uint8, r [32]byte, s [32]byte) (bool, error)

ClaimMessageMatchesSignature is a free data retrieval call binding the contract method 0xd5a373ff.

Solidity: function claimMessageMatchesSignature(address claimToAddr, bytes32 claimParamHash, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s) pure returns(bool)

func (*HexStakeSession) CurrentDay

func (_HexStake *HexStakeSession) CurrentDay() (*big.Int, error)

CurrentDay is a free data retrieval call binding the contract method 0x5c9302c9.

Solidity: function currentDay() view returns(uint256)

func (*HexStakeSession) DailyData

func (_HexStake *HexStakeSession) DailyData(arg0 *big.Int) (struct {
	DayPayoutTotal            *big.Int
	DayStakeSharesTotal       *big.Int
	DayUnclaimedSatoshisTotal *big.Int
}, error)

DailyData is a free data retrieval call binding the contract method 0x90de6871.

Solidity: function dailyData(uint256 ) view returns(uint72 dayPayoutTotal, uint72 dayStakeSharesTotal, uint56 dayUnclaimedSatoshisTotal)

func (*HexStakeSession) DailyDataRange

func (_HexStake *HexStakeSession) DailyDataRange(beginDay *big.Int, endDay *big.Int) ([]*big.Int, error)

DailyDataRange is a free data retrieval call binding the contract method 0x6a210a0e.

Solidity: function dailyDataRange(uint256 beginDay, uint256 endDay) view returns(uint256[] list)

func (*HexStakeSession) DailyDataUpdate

func (_HexStake *HexStakeSession) DailyDataUpdate(beforeDay *big.Int) (*types.Transaction, error)

DailyDataUpdate is a paid mutator transaction binding the contract method 0x8f1c65c0.

Solidity: function dailyDataUpdate(uint256 beforeDay) returns()

func (*HexStakeSession) Decimals

func (_HexStake *HexStakeSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*HexStakeSession) DecreaseAllowance

func (_HexStake *HexStakeSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*HexStakeSession) Fallback

func (_HexStake *HexStakeSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*HexStakeSession) GlobalInfo

func (_HexStake *HexStakeSession) GlobalInfo() ([13]*big.Int, error)

GlobalInfo is a free data retrieval call binding the contract method 0xf04b5fa0.

Solidity: function globalInfo() view returns(uint256[13])

func (*HexStakeSession) Globals

func (_HexStake *HexStakeSession) Globals() (struct {
	LockedHeartsTotal    *big.Int
	NextStakeSharesTotal *big.Int
	ShareRate            *big.Int
	StakePenaltyTotal    *big.Int
	DailyDataCount       uint16
	StakeSharesTotal     *big.Int
	LatestStakeId        *big.Int
	ClaimStats           *big.Int
}, error)

Globals is a free data retrieval call binding the contract method 0xc3124525.

Solidity: function globals() view returns(uint72 lockedHeartsTotal, uint72 nextStakeSharesTotal, uint40 shareRate, uint72 stakePenaltyTotal, uint16 dailyDataCount, uint72 stakeSharesTotal, uint40 latestStakeId, uint128 claimStats)

func (*HexStakeSession) IncreaseAllowance

func (_HexStake *HexStakeSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*HexStakeSession) MerkleProofIsValid

func (_HexStake *HexStakeSession) MerkleProofIsValid(merkleLeaf [32]byte, proof [][32]byte) (bool, error)

MerkleProofIsValid is a free data retrieval call binding the contract method 0x27aa6018.

Solidity: function merkleProofIsValid(bytes32 merkleLeaf, bytes32[] proof) pure returns(bool)

func (*HexStakeSession) Name

func (_HexStake *HexStakeSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*HexStakeSession) PubKeyToBtcAddress

func (_HexStake *HexStakeSession) PubKeyToBtcAddress(pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8) ([20]byte, error)

PubKeyToBtcAddress is a free data retrieval call binding the contract method 0x283a5baf.

Solidity: function pubKeyToBtcAddress(bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags) pure returns(bytes20)

func (*HexStakeSession) PubKeyToEthAddress

func (_HexStake *HexStakeSession) PubKeyToEthAddress(pubKeyX [32]byte, pubKeyY [32]byte) (common.Address, error)

PubKeyToEthAddress is a free data retrieval call binding the contract method 0x30c1a785.

Solidity: function pubKeyToEthAddress(bytes32 pubKeyX, bytes32 pubKeyY) pure returns(address)

func (*HexStakeSession) StakeCount

func (_HexStake *HexStakeSession) StakeCount(stakerAddr common.Address) (*big.Int, error)

StakeCount is a free data retrieval call binding the contract method 0x33060d90.

Solidity: function stakeCount(address stakerAddr) view returns(uint256)

func (*HexStakeSession) StakeEnd

func (_HexStake *HexStakeSession) StakeEnd(stakeIndex *big.Int, stakeIdParam *big.Int) (*types.Transaction, error)

StakeEnd is a paid mutator transaction binding the contract method 0x343009a2.

Solidity: function stakeEnd(uint256 stakeIndex, uint40 stakeIdParam) returns()

func (*HexStakeSession) StakeGoodAccounting

func (_HexStake *HexStakeSession) StakeGoodAccounting(stakerAddr common.Address, stakeIndex *big.Int, stakeIdParam *big.Int) (*types.Transaction, error)

StakeGoodAccounting is a paid mutator transaction binding the contract method 0x65cf71b2.

Solidity: function stakeGoodAccounting(address stakerAddr, uint256 stakeIndex, uint40 stakeIdParam) returns()

func (*HexStakeSession) StakeLists

func (_HexStake *HexStakeSession) StakeLists(arg0 common.Address, arg1 *big.Int) (struct {
	StakeId      *big.Int
	StakedHearts *big.Int
	StakeShares  *big.Int
	LockedDay    uint16
	StakedDays   uint16
	UnlockedDay  uint16
	IsAutoStake  bool
}, error)

StakeLists is a free data retrieval call binding the contract method 0x2607443b.

Solidity: function stakeLists(address , uint256 ) view returns(uint40 stakeId, uint72 stakedHearts, uint72 stakeShares, uint16 lockedDay, uint16 stakedDays, uint16 unlockedDay, bool isAutoStake)

func (*HexStakeSession) StakeStart

func (_HexStake *HexStakeSession) StakeStart(newStakedHearts *big.Int, newStakedDays *big.Int) (*types.Transaction, error)

StakeStart is a paid mutator transaction binding the contract method 0x52a438b8.

Solidity: function stakeStart(uint256 newStakedHearts, uint256 newStakedDays) returns()

func (*HexStakeSession) Symbol

func (_HexStake *HexStakeSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*HexStakeSession) TotalSupply

func (_HexStake *HexStakeSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*HexStakeSession) Transfer

func (_HexStake *HexStakeSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*HexStakeSession) TransferFrom

func (_HexStake *HexStakeSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*HexStakeSession) XfLobby

func (_HexStake *HexStakeSession) XfLobby(arg0 *big.Int) (*big.Int, error)

XfLobby is a free data retrieval call binding the contract method 0x87a0f31c.

Solidity: function xfLobby(uint256 ) view returns(uint256)

func (*HexStakeSession) XfLobbyEnter

func (_HexStake *HexStakeSession) XfLobbyEnter(referrerAddr common.Address) (*types.Transaction, error)

XfLobbyEnter is a paid mutator transaction binding the contract method 0xce7d1f77.

Solidity: function xfLobbyEnter(address referrerAddr) payable returns()

func (*HexStakeSession) XfLobbyEntry

func (_HexStake *HexStakeSession) XfLobbyEntry(memberAddr common.Address, entryId *big.Int) (struct {
	RawAmount    *big.Int
	ReferrerAddr common.Address
}, error)

XfLobbyEntry is a free data retrieval call binding the contract method 0xbd926ed3.

Solidity: function xfLobbyEntry(address memberAddr, uint256 entryId) view returns(uint256 rawAmount, address referrerAddr)

func (*HexStakeSession) XfLobbyExit

func (_HexStake *HexStakeSession) XfLobbyExit(enterDay *big.Int, count *big.Int) (*types.Transaction, error)

XfLobbyExit is a paid mutator transaction binding the contract method 0xcbb151d3.

Solidity: function xfLobbyExit(uint256 enterDay, uint256 count) returns()

func (*HexStakeSession) XfLobbyFlush

func (_HexStake *HexStakeSession) XfLobbyFlush() (*types.Transaction, error)

XfLobbyFlush is a paid mutator transaction binding the contract method 0x5ac1f357.

Solidity: function xfLobbyFlush() returns()

func (*HexStakeSession) XfLobbyMembers

func (_HexStake *HexStakeSession) XfLobbyMembers(arg0 *big.Int, arg1 common.Address) (struct {
	HeadIndex *big.Int
	TailIndex *big.Int
}, error)

XfLobbyMembers is a free data retrieval call binding the contract method 0x44203faf.

Solidity: function xfLobbyMembers(uint256 , address ) view returns(uint40 headIndex, uint40 tailIndex)

func (*HexStakeSession) XfLobbyPendingDays

func (_HexStake *HexStakeSession) XfLobbyPendingDays(memberAddr common.Address) ([2]*big.Int, error)

XfLobbyPendingDays is a free data retrieval call binding the contract method 0x44f0de75.

Solidity: function xfLobbyPendingDays(address memberAddr) view returns(uint256[2] words)

func (*HexStakeSession) XfLobbyRange

func (_HexStake *HexStakeSession) XfLobbyRange(beginDay *big.Int, endDay *big.Int) ([]*big.Int, error)

XfLobbyRange is a free data retrieval call binding the contract method 0xf57a1b3c.

Solidity: function xfLobbyRange(uint256 beginDay, uint256 endDay) view returns(uint256[] list)

type HexStakeShareRateChange

type HexStakeShareRateChange struct {
	Data0   *big.Int
	StakeId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

HexStakeShareRateChange represents a ShareRateChange event raised by the HexStake contract.

type HexStakeShareRateChangeIterator

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

HexStakeShareRateChangeIterator is returned from FilterShareRateChange and is used to iterate over the raw logs and unpacked data for ShareRateChange events raised by the HexStake contract.

func (*HexStakeShareRateChangeIterator) Close

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

func (*HexStakeShareRateChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeShareRateChangeIterator) Next

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

type HexStakeStakeEnd

type HexStakeStakeEnd struct {
	Data0      *big.Int
	Data1      *big.Int
	StakerAddr common.Address
	StakeId    *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

HexStakeStakeEnd represents a StakeEnd event raised by the HexStake contract.

type HexStakeStakeEndIterator

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

HexStakeStakeEndIterator is returned from FilterStakeEnd and is used to iterate over the raw logs and unpacked data for StakeEnd events raised by the HexStake contract.

func (*HexStakeStakeEndIterator) Close

func (it *HexStakeStakeEndIterator) Close() error

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

func (*HexStakeStakeEndIterator) Error

func (it *HexStakeStakeEndIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeStakeEndIterator) Next

func (it *HexStakeStakeEndIterator) 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 HexStakeStakeGoodAccounting

type HexStakeStakeGoodAccounting struct {
	Data0      *big.Int
	Data1      *big.Int
	StakerAddr common.Address
	StakeId    *big.Int
	SenderAddr common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

HexStakeStakeGoodAccounting represents a StakeGoodAccounting event raised by the HexStake contract.

type HexStakeStakeGoodAccountingIterator

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

HexStakeStakeGoodAccountingIterator is returned from FilterStakeGoodAccounting and is used to iterate over the raw logs and unpacked data for StakeGoodAccounting events raised by the HexStake contract.

func (*HexStakeStakeGoodAccountingIterator) Close

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

func (*HexStakeStakeGoodAccountingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeStakeGoodAccountingIterator) Next

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

type HexStakeStakeStart

type HexStakeStakeStart struct {
	Data0      *big.Int
	StakerAddr common.Address
	StakeId    *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

HexStakeStakeStart represents a StakeStart event raised by the HexStake contract.

type HexStakeStakeStartIterator

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

HexStakeStakeStartIterator is returned from FilterStakeStart and is used to iterate over the raw logs and unpacked data for StakeStart events raised by the HexStake contract.

func (*HexStakeStakeStartIterator) Close

func (it *HexStakeStakeStartIterator) Close() error

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

func (*HexStakeStakeStartIterator) Error

func (it *HexStakeStakeStartIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeStakeStartIterator) Next

func (it *HexStakeStakeStartIterator) 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 HexStakeTransactor

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

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

func NewHexStakeTransactor

func NewHexStakeTransactor(address common.Address, transactor bind.ContractTransactor) (*HexStakeTransactor, error)

NewHexStakeTransactor creates a new write-only instance of HexStake, bound to a specific deployed contract.

func (*HexStakeTransactor) Approve

func (_HexStake *HexStakeTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*HexStakeTransactor) BtcAddressClaim

func (_HexStake *HexStakeTransactor) BtcAddressClaim(opts *bind.TransactOpts, rawSatoshis *big.Int, proof [][32]byte, claimToAddr common.Address, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8, v uint8, r [32]byte, s [32]byte, autoStakeDays *big.Int, referrerAddr common.Address) (*types.Transaction, error)

BtcAddressClaim is a paid mutator transaction binding the contract method 0x96f62b9d.

Solidity: function btcAddressClaim(uint256 rawSatoshis, bytes32[] proof, address claimToAddr, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s, uint256 autoStakeDays, address referrerAddr) returns(uint256)

func (*HexStakeTransactor) DailyDataUpdate

func (_HexStake *HexStakeTransactor) DailyDataUpdate(opts *bind.TransactOpts, beforeDay *big.Int) (*types.Transaction, error)

DailyDataUpdate is a paid mutator transaction binding the contract method 0x8f1c65c0.

Solidity: function dailyDataUpdate(uint256 beforeDay) returns()

func (*HexStakeTransactor) DecreaseAllowance

func (_HexStake *HexStakeTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*HexStakeTransactor) Fallback

func (_HexStake *HexStakeTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*HexStakeTransactor) IncreaseAllowance

func (_HexStake *HexStakeTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*HexStakeTransactor) StakeEnd

func (_HexStake *HexStakeTransactor) StakeEnd(opts *bind.TransactOpts, stakeIndex *big.Int, stakeIdParam *big.Int) (*types.Transaction, error)

StakeEnd is a paid mutator transaction binding the contract method 0x343009a2.

Solidity: function stakeEnd(uint256 stakeIndex, uint40 stakeIdParam) returns()

func (*HexStakeTransactor) StakeGoodAccounting

func (_HexStake *HexStakeTransactor) StakeGoodAccounting(opts *bind.TransactOpts, stakerAddr common.Address, stakeIndex *big.Int, stakeIdParam *big.Int) (*types.Transaction, error)

StakeGoodAccounting is a paid mutator transaction binding the contract method 0x65cf71b2.

Solidity: function stakeGoodAccounting(address stakerAddr, uint256 stakeIndex, uint40 stakeIdParam) returns()

func (*HexStakeTransactor) StakeStart

func (_HexStake *HexStakeTransactor) StakeStart(opts *bind.TransactOpts, newStakedHearts *big.Int, newStakedDays *big.Int) (*types.Transaction, error)

StakeStart is a paid mutator transaction binding the contract method 0x52a438b8.

Solidity: function stakeStart(uint256 newStakedHearts, uint256 newStakedDays) returns()

func (*HexStakeTransactor) Transfer

func (_HexStake *HexStakeTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*HexStakeTransactor) TransferFrom

func (_HexStake *HexStakeTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*HexStakeTransactor) XfLobbyEnter

func (_HexStake *HexStakeTransactor) XfLobbyEnter(opts *bind.TransactOpts, referrerAddr common.Address) (*types.Transaction, error)

XfLobbyEnter is a paid mutator transaction binding the contract method 0xce7d1f77.

Solidity: function xfLobbyEnter(address referrerAddr) payable returns()

func (*HexStakeTransactor) XfLobbyExit

func (_HexStake *HexStakeTransactor) XfLobbyExit(opts *bind.TransactOpts, enterDay *big.Int, count *big.Int) (*types.Transaction, error)

XfLobbyExit is a paid mutator transaction binding the contract method 0xcbb151d3.

Solidity: function xfLobbyExit(uint256 enterDay, uint256 count) returns()

func (*HexStakeTransactor) XfLobbyFlush

func (_HexStake *HexStakeTransactor) XfLobbyFlush(opts *bind.TransactOpts) (*types.Transaction, error)

XfLobbyFlush is a paid mutator transaction binding the contract method 0x5ac1f357.

Solidity: function xfLobbyFlush() returns()

type HexStakeTransactorRaw

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

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

func (*HexStakeTransactorRaw) Transact

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

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

func (*HexStakeTransactorRaw) Transfer

func (_HexStake *HexStakeTransactorRaw) 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 HexStakeTransactorSession

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

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

func (*HexStakeTransactorSession) Approve

func (_HexStake *HexStakeTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*HexStakeTransactorSession) BtcAddressClaim

func (_HexStake *HexStakeTransactorSession) BtcAddressClaim(rawSatoshis *big.Int, proof [][32]byte, claimToAddr common.Address, pubKeyX [32]byte, pubKeyY [32]byte, claimFlags uint8, v uint8, r [32]byte, s [32]byte, autoStakeDays *big.Int, referrerAddr common.Address) (*types.Transaction, error)

BtcAddressClaim is a paid mutator transaction binding the contract method 0x96f62b9d.

Solidity: function btcAddressClaim(uint256 rawSatoshis, bytes32[] proof, address claimToAddr, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s, uint256 autoStakeDays, address referrerAddr) returns(uint256)

func (*HexStakeTransactorSession) DailyDataUpdate

func (_HexStake *HexStakeTransactorSession) DailyDataUpdate(beforeDay *big.Int) (*types.Transaction, error)

DailyDataUpdate is a paid mutator transaction binding the contract method 0x8f1c65c0.

Solidity: function dailyDataUpdate(uint256 beforeDay) returns()

func (*HexStakeTransactorSession) DecreaseAllowance

func (_HexStake *HexStakeTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*HexStakeTransactorSession) Fallback

func (_HexStake *HexStakeTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*HexStakeTransactorSession) IncreaseAllowance

func (_HexStake *HexStakeTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*HexStakeTransactorSession) StakeEnd

func (_HexStake *HexStakeTransactorSession) StakeEnd(stakeIndex *big.Int, stakeIdParam *big.Int) (*types.Transaction, error)

StakeEnd is a paid mutator transaction binding the contract method 0x343009a2.

Solidity: function stakeEnd(uint256 stakeIndex, uint40 stakeIdParam) returns()

func (*HexStakeTransactorSession) StakeGoodAccounting

func (_HexStake *HexStakeTransactorSession) StakeGoodAccounting(stakerAddr common.Address, stakeIndex *big.Int, stakeIdParam *big.Int) (*types.Transaction, error)

StakeGoodAccounting is a paid mutator transaction binding the contract method 0x65cf71b2.

Solidity: function stakeGoodAccounting(address stakerAddr, uint256 stakeIndex, uint40 stakeIdParam) returns()

func (*HexStakeTransactorSession) StakeStart

func (_HexStake *HexStakeTransactorSession) StakeStart(newStakedHearts *big.Int, newStakedDays *big.Int) (*types.Transaction, error)

StakeStart is a paid mutator transaction binding the contract method 0x52a438b8.

Solidity: function stakeStart(uint256 newStakedHearts, uint256 newStakedDays) returns()

func (*HexStakeTransactorSession) Transfer

func (_HexStake *HexStakeTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*HexStakeTransactorSession) TransferFrom

func (_HexStake *HexStakeTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*HexStakeTransactorSession) XfLobbyEnter

func (_HexStake *HexStakeTransactorSession) XfLobbyEnter(referrerAddr common.Address) (*types.Transaction, error)

XfLobbyEnter is a paid mutator transaction binding the contract method 0xce7d1f77.

Solidity: function xfLobbyEnter(address referrerAddr) payable returns()

func (*HexStakeTransactorSession) XfLobbyExit

func (_HexStake *HexStakeTransactorSession) XfLobbyExit(enterDay *big.Int, count *big.Int) (*types.Transaction, error)

XfLobbyExit is a paid mutator transaction binding the contract method 0xcbb151d3.

Solidity: function xfLobbyExit(uint256 enterDay, uint256 count) returns()

func (*HexStakeTransactorSession) XfLobbyFlush

func (_HexStake *HexStakeTransactorSession) XfLobbyFlush() (*types.Transaction, error)

XfLobbyFlush is a paid mutator transaction binding the contract method 0x5ac1f357.

Solidity: function xfLobbyFlush() returns()

type HexStakeTransfer

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

HexStakeTransfer represents a Transfer event raised by the HexStake contract.

type HexStakeTransferIterator

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

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

func (*HexStakeTransferIterator) Close

func (it *HexStakeTransferIterator) Close() error

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

func (*HexStakeTransferIterator) Error

func (it *HexStakeTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeTransferIterator) Next

func (it *HexStakeTransferIterator) 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 HexStakeXfLobbyEnter

type HexStakeXfLobbyEnter struct {
	Data0        *big.Int
	MemberAddr   common.Address
	EntryId      *big.Int
	ReferrerAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

HexStakeXfLobbyEnter represents a XfLobbyEnter event raised by the HexStake contract.

type HexStakeXfLobbyEnterIterator

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

HexStakeXfLobbyEnterIterator is returned from FilterXfLobbyEnter and is used to iterate over the raw logs and unpacked data for XfLobbyEnter events raised by the HexStake contract.

func (*HexStakeXfLobbyEnterIterator) Close

func (it *HexStakeXfLobbyEnterIterator) Close() error

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

func (*HexStakeXfLobbyEnterIterator) Error

func (it *HexStakeXfLobbyEnterIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeXfLobbyEnterIterator) Next

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

type HexStakeXfLobbyExit

type HexStakeXfLobbyExit struct {
	Data0        *big.Int
	MemberAddr   common.Address
	EntryId      *big.Int
	ReferrerAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

HexStakeXfLobbyExit represents a XfLobbyExit event raised by the HexStake contract.

type HexStakeXfLobbyExitIterator

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

HexStakeXfLobbyExitIterator is returned from FilterXfLobbyExit and is used to iterate over the raw logs and unpacked data for XfLobbyExit events raised by the HexStake contract.

func (*HexStakeXfLobbyExitIterator) Close

func (it *HexStakeXfLobbyExitIterator) Close() error

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

func (*HexStakeXfLobbyExitIterator) Error

func (it *HexStakeXfLobbyExitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*HexStakeXfLobbyExitIterator) Next

func (it *HexStakeXfLobbyExitIterator) Next() bool

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

Jump to

Keyboard shortcuts

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