btcvseth

package
v0.0.0-...-b847462 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BtcvsethABI = BtcvsethMetaData.ABI

BtcvsethABI is the input ABI used to generate the binding from. Deprecated: Use BtcvsethMetaData.ABI instead.

View Source
var BtcvsethMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"type\":\"address\",\"name\":\"_oracleFirst\",\"internalType\":\"contractAggregatorV3Interface\"},{\"type\":\"address\",\"name\":\"_oracleSecond\",\"internalType\":\"contractAggregatorV3Interface\"},{\"type\":\"address\",\"name\":\"_adminAddress\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"_operatorAddress\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"_intervalBlocks\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"_bufferBlocks\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"_minBetAmount\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"_oracleUpdateAllowance\",\"internalType\":\"uint256\"}]},{\"type\":\"event\",\"name\":\"BetBear\",\"inputs\":[{\"type\":\"address\",\"name\":\"sender\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"currentEpoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BetBull\",\"inputs\":[{\"type\":\"address\",\"name\":\"sender\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"currentEpoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Claim\",\"inputs\":[{\"type\":\"address\",\"name\":\"sender\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"currentEpoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ClaimTreasury\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EndRound\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"blockNumber\",\"internalType\":\"uint256\",\"indexed\":false},{\"type\":\"int256\",\"name\":\"firstPrice\",\"internalType\":\"int256\",\"indexed\":false},{\"type\":\"int256\",\"name\":\"secondPrice\",\"internalType\":\"int256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LockRound\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"blockNumber\",\"internalType\":\"uint256\",\"indexed\":false},{\"type\":\"int256\",\"name\":\"firstPrice\",\"internalType\":\"int256\",\"indexed\":false},{\"type\":\"int256\",\"name\":\"secondPrice\",\"internalType\":\"int256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"MinBetAmountUpdated\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"minBetAmount\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"type\":\"address\",\"name\":\"previousOwner\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"newOwner\",\"internalType\":\"address\",\"indexed\":true}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Pause\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"type\":\"address\",\"name\":\"account\",\"internalType\":\"address\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RatesUpdated\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"rewardRate\",\"internalType\":\"uint256\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"treasuryRate\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RewardsCalculated\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"rewardBaseCalAmount\",\"internalType\":\"uint256\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"rewardAmount\",\"internalType\":\"uint256\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"treasuryAmount\",\"internalType\":\"uint256\",\"indexed\":false},{\"type\":\"int256\",\"name\":\"firstPercent\",\"internalType\":\"int256\",\"indexed\":false},{\"type\":\"int256\",\"name\":\"secondPercent\",\"internalType\":\"int256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"StartRound\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"blockNumber\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpause\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"type\":\"address\",\"name\":\"account\",\"internalType\":\"address\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"TOTAL_RATE\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"adminAddress\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"payable\",\"outputs\":[],\"name\":\"betBear\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"payable\",\"outputs\":[],\"name\":\"betBull\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"bufferBlocks\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"claim\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"claimTreasury\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"claimable\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\"},{\"type\":\"address\",\"name\":\"user\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"currentEpoch\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"executeRound\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"genesisLockOnce\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"genesisLockRound\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"genesisStartOnce\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"genesisStartRound\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256[]\",\"name\":\"\",\"internalType\":\"uint256[]\"},{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"getUserRounds\",\"inputs\":[{\"type\":\"address\",\"name\":\"user\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"cursor\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"size\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"intervalBlocks\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"position\",\"internalType\":\"enumBtcVsEth.Position\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"},{\"type\":\"bool\",\"name\":\"claimed\",\"internalType\":\"bool\"}],\"name\":\"ledger\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"},{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"minBetAmount\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"operatorAddress\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"oracleFirstLatestRoundId\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"oracleSecondLatestRoundId\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"oracleUpdateAllowance\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"owner\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"pause\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"paused\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"refundable\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\"},{\"type\":\"address\",\"name\":\"user\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"renounceOwnership\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"rewardRate\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"epoch\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"startBlock\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"lockBlock\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"endBlock\",\"internalType\":\"uint256\"},{\"type\":\"int256\",\"name\":\"lockFirstPrice\",\"internalType\":\"int256\"},{\"type\":\"int256\",\"name\":\"closeFirstPrice\",\"internalType\":\"int256\"},{\"type\":\"int256\",\"name\":\"lockSecondPrice\",\"internalType\":\"int256\"},{\"type\":\"int256\",\"name\":\"closeSecondPrice\",\"internalType\":\"int256\"},{\"type\":\"uint256\",\"name\":\"totalAmount\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"bullAmount\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"bearAmount\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"rewardBaseCalAmount\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"rewardAmount\",\"internalType\":\"uint256\"},{\"type\":\"bool\",\"name\":\"oracleCalled\",\"internalType\":\"bool\"}],\"name\":\"rounds\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setAdmin\",\"inputs\":[{\"type\":\"address\",\"name\":\"_adminAddress\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setBufferBlocks\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_bufferBlocks\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setFirstOracle\",\"inputs\":[{\"type\":\"address\",\"name\":\"_oracle\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setIntervalBlocks\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_intervalBlocks\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setMinBetAmount\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_minBetAmount\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setOperator\",\"inputs\":[{\"type\":\"address\",\"name\":\"_operatorAddress\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setOracleUpdateAllowance\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_oracleUpdateAllowance\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setRewardRate\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_rewardRate\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setSecondOracle\",\"inputs\":[{\"type\":\"address\",\"name\":\"_oracle\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"setTreasuryRate\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"_treasuryRate\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"transferOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"newOwner\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"treasuryAmount\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"treasuryRate\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"unpause\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"userRounds\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]}]",
}

BtcvsethMetaData contains all meta data concerning the Btcvseth contract.

Functions

This section is empty.

Types

type Btcvseth

type Btcvseth struct {
	BtcvsethCaller     // Read-only binding to the contract
	BtcvsethTransactor // Write-only binding to the contract
	BtcvsethFilterer   // Log filterer for contract events
}

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

func NewBtcvseth

func NewBtcvseth(address common.Address, backend bind.ContractBackend) (*Btcvseth, error)

NewBtcvseth creates a new instance of Btcvseth, bound to a specific deployed contract.

type BtcvsethBetBear

type BtcvsethBetBear struct {
	Sender       common.Address
	CurrentEpoch *big.Int
	Amount       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BtcvsethBetBear represents a BetBear event raised by the Btcvseth contract.

type BtcvsethBetBearIterator

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

BtcvsethBetBearIterator is returned from FilterBetBear and is used to iterate over the raw logs and unpacked data for BetBear events raised by the Btcvseth contract.

func (*BtcvsethBetBearIterator) Close

func (it *BtcvsethBetBearIterator) Close() error

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

func (*BtcvsethBetBearIterator) Error

func (it *BtcvsethBetBearIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethBetBearIterator) Next

func (it *BtcvsethBetBearIterator) 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 BtcvsethBetBull

type BtcvsethBetBull struct {
	Sender       common.Address
	CurrentEpoch *big.Int
	Amount       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BtcvsethBetBull represents a BetBull event raised by the Btcvseth contract.

type BtcvsethBetBullIterator

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

BtcvsethBetBullIterator is returned from FilterBetBull and is used to iterate over the raw logs and unpacked data for BetBull events raised by the Btcvseth contract.

func (*BtcvsethBetBullIterator) Close

func (it *BtcvsethBetBullIterator) Close() error

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

func (*BtcvsethBetBullIterator) Error

func (it *BtcvsethBetBullIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethBetBullIterator) Next

func (it *BtcvsethBetBullIterator) 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 BtcvsethCaller

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

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

func NewBtcvsethCaller

func NewBtcvsethCaller(address common.Address, caller bind.ContractCaller) (*BtcvsethCaller, error)

NewBtcvsethCaller creates a new read-only instance of Btcvseth, bound to a specific deployed contract.

func (*BtcvsethCaller) AdminAddress

func (_Btcvseth *BtcvsethCaller) AdminAddress(opts *bind.CallOpts) (common.Address, error)

AdminAddress is a free data retrieval call binding the contract method 0xfc6f9468.

Solidity: function adminAddress() view returns(address)

func (*BtcvsethCaller) BufferBlocks

func (_Btcvseth *BtcvsethCaller) BufferBlocks(opts *bind.CallOpts) (*big.Int, error)

BufferBlocks is a free data retrieval call binding the contract method 0x9780a752.

Solidity: function bufferBlocks() view returns(uint256)

func (*BtcvsethCaller) Claimable

func (_Btcvseth *BtcvsethCaller) Claimable(opts *bind.CallOpts, epoch *big.Int, user common.Address) (bool, error)

Claimable is a free data retrieval call binding the contract method 0xa0c7f71c.

Solidity: function claimable(uint256 epoch, address user) view returns(bool)

func (*BtcvsethCaller) CurrentEpoch

func (_Btcvseth *BtcvsethCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() view returns(uint256)

func (*BtcvsethCaller) GenesisLockOnce

func (_Btcvseth *BtcvsethCaller) GenesisLockOnce(opts *bind.CallOpts) (bool, error)

GenesisLockOnce is a free data retrieval call binding the contract method 0x0f74174f.

Solidity: function genesisLockOnce() view returns(bool)

func (*BtcvsethCaller) GenesisStartOnce

func (_Btcvseth *BtcvsethCaller) GenesisStartOnce(opts *bind.CallOpts) (bool, error)

GenesisStartOnce is a free data retrieval call binding the contract method 0xf7fdec28.

Solidity: function genesisStartOnce() view returns(bool)

func (*BtcvsethCaller) GetUserRounds

func (_Btcvseth *BtcvsethCaller) GetUserRounds(opts *bind.CallOpts, user common.Address, cursor *big.Int, size *big.Int) ([]*big.Int, *big.Int, error)

GetUserRounds is a free data retrieval call binding the contract method 0x951fd600.

Solidity: function getUserRounds(address user, uint256 cursor, uint256 size) view returns(uint256[], uint256)

func (*BtcvsethCaller) IntervalBlocks

func (_Btcvseth *BtcvsethCaller) IntervalBlocks(opts *bind.CallOpts) (*big.Int, error)

IntervalBlocks is a free data retrieval call binding the contract method 0x1ec9f34b.

Solidity: function intervalBlocks() view returns(uint256)

func (*BtcvsethCaller) Ledger

func (_Btcvseth *BtcvsethCaller) Ledger(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct {
	Position uint8
	Amount   *big.Int
	Claimed  bool
}, error)

Ledger is a free data retrieval call binding the contract method 0x7285c58b.

Solidity: function ledger(uint256 , address ) view returns(uint8 position, uint256 amount, bool claimed)

func (*BtcvsethCaller) MinBetAmount

func (_Btcvseth *BtcvsethCaller) MinBetAmount(opts *bind.CallOpts) (*big.Int, error)

MinBetAmount is a free data retrieval call binding the contract method 0xfa968eea.

Solidity: function minBetAmount() view returns(uint256)

func (*BtcvsethCaller) OperatorAddress

func (_Btcvseth *BtcvsethCaller) OperatorAddress(opts *bind.CallOpts) (common.Address, error)

OperatorAddress is a free data retrieval call binding the contract method 0x127effb2.

Solidity: function operatorAddress() view returns(address)

func (*BtcvsethCaller) OracleFirstLatestRoundId

func (_Btcvseth *BtcvsethCaller) OracleFirstLatestRoundId(opts *bind.CallOpts) (*big.Int, error)

OracleFirstLatestRoundId is a free data retrieval call binding the contract method 0x91e5ae4f.

Solidity: function oracleFirstLatestRoundId() view returns(uint256)

func (*BtcvsethCaller) OracleSecondLatestRoundId

func (_Btcvseth *BtcvsethCaller) OracleSecondLatestRoundId(opts *bind.CallOpts) (*big.Int, error)

OracleSecondLatestRoundId is a free data retrieval call binding the contract method 0xb1802631.

Solidity: function oracleSecondLatestRoundId() view returns(uint256)

func (*BtcvsethCaller) OracleUpdateAllowance

func (_Btcvseth *BtcvsethCaller) OracleUpdateAllowance(opts *bind.CallOpts) (*big.Int, error)

OracleUpdateAllowance is a free data retrieval call binding the contract method 0x60554011.

Solidity: function oracleUpdateAllowance() view returns(uint256)

func (*BtcvsethCaller) Owner

func (_Btcvseth *BtcvsethCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BtcvsethCaller) Paused

func (_Btcvseth *BtcvsethCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BtcvsethCaller) Refundable

func (_Btcvseth *BtcvsethCaller) Refundable(opts *bind.CallOpts, epoch *big.Int, user common.Address) (bool, error)

Refundable is a free data retrieval call binding the contract method 0x7bf41254.

Solidity: function refundable(uint256 epoch, address user) view returns(bool)

func (*BtcvsethCaller) RewardRate

func (_Btcvseth *BtcvsethCaller) RewardRate(opts *bind.CallOpts) (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*BtcvsethCaller) Rounds

func (_Btcvseth *BtcvsethCaller) Rounds(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Epoch               *big.Int
	StartBlock          *big.Int
	LockBlock           *big.Int
	EndBlock            *big.Int
	LockFirstPrice      *big.Int
	CloseFirstPrice     *big.Int
	LockSecondPrice     *big.Int
	CloseSecondPrice    *big.Int
	TotalAmount         *big.Int
	BullAmount          *big.Int
	BearAmount          *big.Int
	RewardBaseCalAmount *big.Int
	RewardAmount        *big.Int
	OracleCalled        bool
}, error)

Rounds is a free data retrieval call binding the contract method 0x8c65c81f.

Solidity: function rounds(uint256 ) view returns(uint256 epoch, uint256 startBlock, uint256 lockBlock, uint256 endBlock, int256 lockFirstPrice, int256 closeFirstPrice, int256 lockSecondPrice, int256 closeSecondPrice, uint256 totalAmount, uint256 bullAmount, uint256 bearAmount, uint256 rewardBaseCalAmount, uint256 rewardAmount, bool oracleCalled)

func (*BtcvsethCaller) TOTALRATE

func (_Btcvseth *BtcvsethCaller) TOTALRATE(opts *bind.CallOpts) (*big.Int, error)

TOTALRATE is a free data retrieval call binding the contract method 0xb29c299b.

Solidity: function TOTAL_RATE() view returns(uint256)

func (*BtcvsethCaller) TreasuryAmount

func (_Btcvseth *BtcvsethCaller) TreasuryAmount(opts *bind.CallOpts) (*big.Int, error)

TreasuryAmount is a free data retrieval call binding the contract method 0x368acb09.

Solidity: function treasuryAmount() view returns(uint256)

func (*BtcvsethCaller) TreasuryRate

func (_Btcvseth *BtcvsethCaller) TreasuryRate(opts *bind.CallOpts) (*big.Int, error)

TreasuryRate is a free data retrieval call binding the contract method 0xe4b72516.

Solidity: function treasuryRate() view returns(uint256)

func (*BtcvsethCaller) UserRounds

func (_Btcvseth *BtcvsethCaller) UserRounds(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)

UserRounds is a free data retrieval call binding the contract method 0xdd1f7596.

Solidity: function userRounds(address , uint256 ) view returns(uint256)

type BtcvsethCallerRaw

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

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

func (*BtcvsethCallerRaw) Call

func (_Btcvseth *BtcvsethCallerRaw) 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 BtcvsethCallerSession

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

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

func (*BtcvsethCallerSession) AdminAddress

func (_Btcvseth *BtcvsethCallerSession) AdminAddress() (common.Address, error)

AdminAddress is a free data retrieval call binding the contract method 0xfc6f9468.

Solidity: function adminAddress() view returns(address)

func (*BtcvsethCallerSession) BufferBlocks

func (_Btcvseth *BtcvsethCallerSession) BufferBlocks() (*big.Int, error)

BufferBlocks is a free data retrieval call binding the contract method 0x9780a752.

Solidity: function bufferBlocks() view returns(uint256)

func (*BtcvsethCallerSession) Claimable

func (_Btcvseth *BtcvsethCallerSession) Claimable(epoch *big.Int, user common.Address) (bool, error)

Claimable is a free data retrieval call binding the contract method 0xa0c7f71c.

Solidity: function claimable(uint256 epoch, address user) view returns(bool)

func (*BtcvsethCallerSession) CurrentEpoch

func (_Btcvseth *BtcvsethCallerSession) CurrentEpoch() (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() view returns(uint256)

func (*BtcvsethCallerSession) GenesisLockOnce

func (_Btcvseth *BtcvsethCallerSession) GenesisLockOnce() (bool, error)

GenesisLockOnce is a free data retrieval call binding the contract method 0x0f74174f.

Solidity: function genesisLockOnce() view returns(bool)

func (*BtcvsethCallerSession) GenesisStartOnce

func (_Btcvseth *BtcvsethCallerSession) GenesisStartOnce() (bool, error)

GenesisStartOnce is a free data retrieval call binding the contract method 0xf7fdec28.

Solidity: function genesisStartOnce() view returns(bool)

func (*BtcvsethCallerSession) GetUserRounds

func (_Btcvseth *BtcvsethCallerSession) GetUserRounds(user common.Address, cursor *big.Int, size *big.Int) ([]*big.Int, *big.Int, error)

GetUserRounds is a free data retrieval call binding the contract method 0x951fd600.

Solidity: function getUserRounds(address user, uint256 cursor, uint256 size) view returns(uint256[], uint256)

func (*BtcvsethCallerSession) IntervalBlocks

func (_Btcvseth *BtcvsethCallerSession) IntervalBlocks() (*big.Int, error)

IntervalBlocks is a free data retrieval call binding the contract method 0x1ec9f34b.

Solidity: function intervalBlocks() view returns(uint256)

func (*BtcvsethCallerSession) Ledger

func (_Btcvseth *BtcvsethCallerSession) Ledger(arg0 *big.Int, arg1 common.Address) (struct {
	Position uint8
	Amount   *big.Int
	Claimed  bool
}, error)

Ledger is a free data retrieval call binding the contract method 0x7285c58b.

Solidity: function ledger(uint256 , address ) view returns(uint8 position, uint256 amount, bool claimed)

func (*BtcvsethCallerSession) MinBetAmount

func (_Btcvseth *BtcvsethCallerSession) MinBetAmount() (*big.Int, error)

MinBetAmount is a free data retrieval call binding the contract method 0xfa968eea.

Solidity: function minBetAmount() view returns(uint256)

func (*BtcvsethCallerSession) OperatorAddress

func (_Btcvseth *BtcvsethCallerSession) OperatorAddress() (common.Address, error)

OperatorAddress is a free data retrieval call binding the contract method 0x127effb2.

Solidity: function operatorAddress() view returns(address)

func (*BtcvsethCallerSession) OracleFirstLatestRoundId

func (_Btcvseth *BtcvsethCallerSession) OracleFirstLatestRoundId() (*big.Int, error)

OracleFirstLatestRoundId is a free data retrieval call binding the contract method 0x91e5ae4f.

Solidity: function oracleFirstLatestRoundId() view returns(uint256)

func (*BtcvsethCallerSession) OracleSecondLatestRoundId

func (_Btcvseth *BtcvsethCallerSession) OracleSecondLatestRoundId() (*big.Int, error)

OracleSecondLatestRoundId is a free data retrieval call binding the contract method 0xb1802631.

Solidity: function oracleSecondLatestRoundId() view returns(uint256)

func (*BtcvsethCallerSession) OracleUpdateAllowance

func (_Btcvseth *BtcvsethCallerSession) OracleUpdateAllowance() (*big.Int, error)

OracleUpdateAllowance is a free data retrieval call binding the contract method 0x60554011.

Solidity: function oracleUpdateAllowance() view returns(uint256)

func (*BtcvsethCallerSession) Owner

func (_Btcvseth *BtcvsethCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BtcvsethCallerSession) Paused

func (_Btcvseth *BtcvsethCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BtcvsethCallerSession) Refundable

func (_Btcvseth *BtcvsethCallerSession) Refundable(epoch *big.Int, user common.Address) (bool, error)

Refundable is a free data retrieval call binding the contract method 0x7bf41254.

Solidity: function refundable(uint256 epoch, address user) view returns(bool)

func (*BtcvsethCallerSession) RewardRate

func (_Btcvseth *BtcvsethCallerSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*BtcvsethCallerSession) Rounds

func (_Btcvseth *BtcvsethCallerSession) Rounds(arg0 *big.Int) (struct {
	Epoch               *big.Int
	StartBlock          *big.Int
	LockBlock           *big.Int
	EndBlock            *big.Int
	LockFirstPrice      *big.Int
	CloseFirstPrice     *big.Int
	LockSecondPrice     *big.Int
	CloseSecondPrice    *big.Int
	TotalAmount         *big.Int
	BullAmount          *big.Int
	BearAmount          *big.Int
	RewardBaseCalAmount *big.Int
	RewardAmount        *big.Int
	OracleCalled        bool
}, error)

Rounds is a free data retrieval call binding the contract method 0x8c65c81f.

Solidity: function rounds(uint256 ) view returns(uint256 epoch, uint256 startBlock, uint256 lockBlock, uint256 endBlock, int256 lockFirstPrice, int256 closeFirstPrice, int256 lockSecondPrice, int256 closeSecondPrice, uint256 totalAmount, uint256 bullAmount, uint256 bearAmount, uint256 rewardBaseCalAmount, uint256 rewardAmount, bool oracleCalled)

func (*BtcvsethCallerSession) TOTALRATE

func (_Btcvseth *BtcvsethCallerSession) TOTALRATE() (*big.Int, error)

TOTALRATE is a free data retrieval call binding the contract method 0xb29c299b.

Solidity: function TOTAL_RATE() view returns(uint256)

func (*BtcvsethCallerSession) TreasuryAmount

func (_Btcvseth *BtcvsethCallerSession) TreasuryAmount() (*big.Int, error)

TreasuryAmount is a free data retrieval call binding the contract method 0x368acb09.

Solidity: function treasuryAmount() view returns(uint256)

func (*BtcvsethCallerSession) TreasuryRate

func (_Btcvseth *BtcvsethCallerSession) TreasuryRate() (*big.Int, error)

TreasuryRate is a free data retrieval call binding the contract method 0xe4b72516.

Solidity: function treasuryRate() view returns(uint256)

func (*BtcvsethCallerSession) UserRounds

func (_Btcvseth *BtcvsethCallerSession) UserRounds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

UserRounds is a free data retrieval call binding the contract method 0xdd1f7596.

Solidity: function userRounds(address , uint256 ) view returns(uint256)

type BtcvsethClaim

type BtcvsethClaim struct {
	Sender       common.Address
	CurrentEpoch *big.Int
	Amount       *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BtcvsethClaim represents a Claim event raised by the Btcvseth contract.

type BtcvsethClaimIterator

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

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

func (*BtcvsethClaimIterator) Close

func (it *BtcvsethClaimIterator) Close() error

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

func (*BtcvsethClaimIterator) Error

func (it *BtcvsethClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethClaimIterator) Next

func (it *BtcvsethClaimIterator) 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 BtcvsethClaimTreasury

type BtcvsethClaimTreasury struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BtcvsethClaimTreasury represents a ClaimTreasury event raised by the Btcvseth contract.

type BtcvsethClaimTreasuryIterator

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

BtcvsethClaimTreasuryIterator is returned from FilterClaimTreasury and is used to iterate over the raw logs and unpacked data for ClaimTreasury events raised by the Btcvseth contract.

func (*BtcvsethClaimTreasuryIterator) Close

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

func (*BtcvsethClaimTreasuryIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethClaimTreasuryIterator) 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 BtcvsethEndRound

type BtcvsethEndRound struct {
	Epoch       *big.Int
	BlockNumber *big.Int
	FirstPrice  *big.Int
	SecondPrice *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

BtcvsethEndRound represents a EndRound event raised by the Btcvseth contract.

type BtcvsethEndRoundIterator

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

BtcvsethEndRoundIterator is returned from FilterEndRound and is used to iterate over the raw logs and unpacked data for EndRound events raised by the Btcvseth contract.

func (*BtcvsethEndRoundIterator) Close

func (it *BtcvsethEndRoundIterator) Close() error

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

func (*BtcvsethEndRoundIterator) Error

func (it *BtcvsethEndRoundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethEndRoundIterator) Next

func (it *BtcvsethEndRoundIterator) 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 BtcvsethFilterer

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

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

func NewBtcvsethFilterer

func NewBtcvsethFilterer(address common.Address, filterer bind.ContractFilterer) (*BtcvsethFilterer, error)

NewBtcvsethFilterer creates a new log filterer instance of Btcvseth, bound to a specific deployed contract.

func (*BtcvsethFilterer) FilterBetBear

func (_Btcvseth *BtcvsethFilterer) FilterBetBear(opts *bind.FilterOpts, sender []common.Address, currentEpoch []*big.Int) (*BtcvsethBetBearIterator, error)

FilterBetBear is a free log retrieval operation binding the contract event 0x0d8c1fe3e67ab767116a81f122b83c2557a8c2564019cb7c4f83de1aeb1f1f0d.

Solidity: event BetBear(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) FilterBetBull

func (_Btcvseth *BtcvsethFilterer) FilterBetBull(opts *bind.FilterOpts, sender []common.Address, currentEpoch []*big.Int) (*BtcvsethBetBullIterator, error)

FilterBetBull is a free log retrieval operation binding the contract event 0x438122d8cff518d18388099a5181f0d17a12b4f1b55faedf6e4a6acee0060c12.

Solidity: event BetBull(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) FilterClaim

func (_Btcvseth *BtcvsethFilterer) FilterClaim(opts *bind.FilterOpts, sender []common.Address, currentEpoch []*big.Int) (*BtcvsethClaimIterator, error)

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

Solidity: event Claim(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) FilterClaimTreasury

func (_Btcvseth *BtcvsethFilterer) FilterClaimTreasury(opts *bind.FilterOpts) (*BtcvsethClaimTreasuryIterator, error)

FilterClaimTreasury is a free log retrieval operation binding the contract event 0x609175abb7f12481e4f200d1ef4fc834e6caac3d9eadba42d664352f6d0932ca.

Solidity: event ClaimTreasury(uint256 amount)

func (*BtcvsethFilterer) FilterEndRound

func (_Btcvseth *BtcvsethFilterer) FilterEndRound(opts *bind.FilterOpts, epoch []*big.Int) (*BtcvsethEndRoundIterator, error)

FilterEndRound is a free log retrieval operation binding the contract event 0xe9a54ac39aff99983e21985115ac91548a416592079c5051ac3ea7e6716ded89.

Solidity: event EndRound(uint256 indexed epoch, uint256 blockNumber, int256 firstPrice, int256 secondPrice)

func (*BtcvsethFilterer) FilterLockRound

func (_Btcvseth *BtcvsethFilterer) FilterLockRound(opts *bind.FilterOpts, epoch []*big.Int) (*BtcvsethLockRoundIterator, error)

FilterLockRound is a free log retrieval operation binding the contract event 0x21ce5b865a74204726d5062101961300ef664b01ba3f6ddd9ee1bf71846f8e15.

Solidity: event LockRound(uint256 indexed epoch, uint256 blockNumber, int256 firstPrice, int256 secondPrice)

func (*BtcvsethFilterer) FilterMinBetAmountUpdated

func (_Btcvseth *BtcvsethFilterer) FilterMinBetAmountUpdated(opts *bind.FilterOpts, epoch []*big.Int) (*BtcvsethMinBetAmountUpdatedIterator, error)

FilterMinBetAmountUpdated is a free log retrieval operation binding the contract event 0x82480e97991520549ac4b5d0e1d97edb3bfac2666202923b6903d2a953dc7608.

Solidity: event MinBetAmountUpdated(uint256 indexed epoch, uint256 minBetAmount)

func (*BtcvsethFilterer) FilterOwnershipTransferred

func (_Btcvseth *BtcvsethFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BtcvsethOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BtcvsethFilterer) FilterPause

func (_Btcvseth *BtcvsethFilterer) FilterPause(opts *bind.FilterOpts) (*BtcvsethPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x68b095021b1f40fe513109f513c66692f0b3219aee674a69f4efc57badb8201d.

Solidity: event Pause(uint256 epoch)

func (*BtcvsethFilterer) FilterPaused

func (_Btcvseth *BtcvsethFilterer) FilterPaused(opts *bind.FilterOpts) (*BtcvsethPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BtcvsethFilterer) FilterRatesUpdated

func (_Btcvseth *BtcvsethFilterer) FilterRatesUpdated(opts *bind.FilterOpts, epoch []*big.Int) (*BtcvsethRatesUpdatedIterator, error)

FilterRatesUpdated is a free log retrieval operation binding the contract event 0x023010bc68e7f4c0be9887f513c570c7a0f5f511b9716abccd42bf3b8943532b.

Solidity: event RatesUpdated(uint256 indexed epoch, uint256 rewardRate, uint256 treasuryRate)

func (*BtcvsethFilterer) FilterRewardsCalculated

func (_Btcvseth *BtcvsethFilterer) FilterRewardsCalculated(opts *bind.FilterOpts, epoch []*big.Int) (*BtcvsethRewardsCalculatedIterator, error)

FilterRewardsCalculated is a free log retrieval operation binding the contract event 0x1a772e2472fb70d2e556c23d2829be73279aa2fa7997b9bd4660dbe1ff6e31f8.

Solidity: event RewardsCalculated(uint256 indexed epoch, uint256 rewardBaseCalAmount, uint256 rewardAmount, uint256 treasuryAmount, int256 firstPercent, int256 secondPercent)

func (*BtcvsethFilterer) FilterStartRound

func (_Btcvseth *BtcvsethFilterer) FilterStartRound(opts *bind.FilterOpts, epoch []*big.Int) (*BtcvsethStartRoundIterator, error)

FilterStartRound is a free log retrieval operation binding the contract event 0x0e5543feb86a4cd302f2b88b26c42be2d1673013a34e1f98bd6d524dd3b4ab41.

Solidity: event StartRound(uint256 indexed epoch, uint256 blockNumber)

func (*BtcvsethFilterer) FilterUnpause

func (_Btcvseth *BtcvsethFilterer) FilterUnpause(opts *bind.FilterOpts) (*BtcvsethUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0xaaa520fdd7d2c83061d632fa017b0432407e798818af63ea908589fceda39ab7.

Solidity: event Unpause(uint256 epoch)

func (*BtcvsethFilterer) FilterUnpaused

func (_Btcvseth *BtcvsethFilterer) FilterUnpaused(opts *bind.FilterOpts) (*BtcvsethUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BtcvsethFilterer) ParseBetBear

func (_Btcvseth *BtcvsethFilterer) ParseBetBear(log types.Log) (*BtcvsethBetBear, error)

ParseBetBear is a log parse operation binding the contract event 0x0d8c1fe3e67ab767116a81f122b83c2557a8c2564019cb7c4f83de1aeb1f1f0d.

Solidity: event BetBear(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) ParseBetBull

func (_Btcvseth *BtcvsethFilterer) ParseBetBull(log types.Log) (*BtcvsethBetBull, error)

ParseBetBull is a log parse operation binding the contract event 0x438122d8cff518d18388099a5181f0d17a12b4f1b55faedf6e4a6acee0060c12.

Solidity: event BetBull(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) ParseClaim

func (_Btcvseth *BtcvsethFilterer) ParseClaim(log types.Log) (*BtcvsethClaim, error)

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

Solidity: event Claim(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) ParseClaimTreasury

func (_Btcvseth *BtcvsethFilterer) ParseClaimTreasury(log types.Log) (*BtcvsethClaimTreasury, error)

ParseClaimTreasury is a log parse operation binding the contract event 0x609175abb7f12481e4f200d1ef4fc834e6caac3d9eadba42d664352f6d0932ca.

Solidity: event ClaimTreasury(uint256 amount)

func (*BtcvsethFilterer) ParseEndRound

func (_Btcvseth *BtcvsethFilterer) ParseEndRound(log types.Log) (*BtcvsethEndRound, error)

ParseEndRound is a log parse operation binding the contract event 0xe9a54ac39aff99983e21985115ac91548a416592079c5051ac3ea7e6716ded89.

Solidity: event EndRound(uint256 indexed epoch, uint256 blockNumber, int256 firstPrice, int256 secondPrice)

func (*BtcvsethFilterer) ParseLockRound

func (_Btcvseth *BtcvsethFilterer) ParseLockRound(log types.Log) (*BtcvsethLockRound, error)

ParseLockRound is a log parse operation binding the contract event 0x21ce5b865a74204726d5062101961300ef664b01ba3f6ddd9ee1bf71846f8e15.

Solidity: event LockRound(uint256 indexed epoch, uint256 blockNumber, int256 firstPrice, int256 secondPrice)

func (*BtcvsethFilterer) ParseMinBetAmountUpdated

func (_Btcvseth *BtcvsethFilterer) ParseMinBetAmountUpdated(log types.Log) (*BtcvsethMinBetAmountUpdated, error)

ParseMinBetAmountUpdated is a log parse operation binding the contract event 0x82480e97991520549ac4b5d0e1d97edb3bfac2666202923b6903d2a953dc7608.

Solidity: event MinBetAmountUpdated(uint256 indexed epoch, uint256 minBetAmount)

func (*BtcvsethFilterer) ParseOwnershipTransferred

func (_Btcvseth *BtcvsethFilterer) ParseOwnershipTransferred(log types.Log) (*BtcvsethOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BtcvsethFilterer) ParsePause

func (_Btcvseth *BtcvsethFilterer) ParsePause(log types.Log) (*BtcvsethPause, error)

ParsePause is a log parse operation binding the contract event 0x68b095021b1f40fe513109f513c66692f0b3219aee674a69f4efc57badb8201d.

Solidity: event Pause(uint256 epoch)

func (*BtcvsethFilterer) ParsePaused

func (_Btcvseth *BtcvsethFilterer) ParsePaused(log types.Log) (*BtcvsethPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BtcvsethFilterer) ParseRatesUpdated

func (_Btcvseth *BtcvsethFilterer) ParseRatesUpdated(log types.Log) (*BtcvsethRatesUpdated, error)

ParseRatesUpdated is a log parse operation binding the contract event 0x023010bc68e7f4c0be9887f513c570c7a0f5f511b9716abccd42bf3b8943532b.

Solidity: event RatesUpdated(uint256 indexed epoch, uint256 rewardRate, uint256 treasuryRate)

func (*BtcvsethFilterer) ParseRewardsCalculated

func (_Btcvseth *BtcvsethFilterer) ParseRewardsCalculated(log types.Log) (*BtcvsethRewardsCalculated, error)

ParseRewardsCalculated is a log parse operation binding the contract event 0x1a772e2472fb70d2e556c23d2829be73279aa2fa7997b9bd4660dbe1ff6e31f8.

Solidity: event RewardsCalculated(uint256 indexed epoch, uint256 rewardBaseCalAmount, uint256 rewardAmount, uint256 treasuryAmount, int256 firstPercent, int256 secondPercent)

func (*BtcvsethFilterer) ParseStartRound

func (_Btcvseth *BtcvsethFilterer) ParseStartRound(log types.Log) (*BtcvsethStartRound, error)

ParseStartRound is a log parse operation binding the contract event 0x0e5543feb86a4cd302f2b88b26c42be2d1673013a34e1f98bd6d524dd3b4ab41.

Solidity: event StartRound(uint256 indexed epoch, uint256 blockNumber)

func (*BtcvsethFilterer) ParseUnpause

func (_Btcvseth *BtcvsethFilterer) ParseUnpause(log types.Log) (*BtcvsethUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0xaaa520fdd7d2c83061d632fa017b0432407e798818af63ea908589fceda39ab7.

Solidity: event Unpause(uint256 epoch)

func (*BtcvsethFilterer) ParseUnpaused

func (_Btcvseth *BtcvsethFilterer) ParseUnpaused(log types.Log) (*BtcvsethUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*BtcvsethFilterer) WatchBetBear

func (_Btcvseth *BtcvsethFilterer) WatchBetBear(opts *bind.WatchOpts, sink chan<- *BtcvsethBetBear, sender []common.Address, currentEpoch []*big.Int) (event.Subscription, error)

WatchBetBear is a free log subscription operation binding the contract event 0x0d8c1fe3e67ab767116a81f122b83c2557a8c2564019cb7c4f83de1aeb1f1f0d.

Solidity: event BetBear(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) WatchBetBull

func (_Btcvseth *BtcvsethFilterer) WatchBetBull(opts *bind.WatchOpts, sink chan<- *BtcvsethBetBull, sender []common.Address, currentEpoch []*big.Int) (event.Subscription, error)

WatchBetBull is a free log subscription operation binding the contract event 0x438122d8cff518d18388099a5181f0d17a12b4f1b55faedf6e4a6acee0060c12.

Solidity: event BetBull(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) WatchClaim

func (_Btcvseth *BtcvsethFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *BtcvsethClaim, sender []common.Address, currentEpoch []*big.Int) (event.Subscription, error)

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

Solidity: event Claim(address indexed sender, uint256 indexed currentEpoch, uint256 amount)

func (*BtcvsethFilterer) WatchClaimTreasury

func (_Btcvseth *BtcvsethFilterer) WatchClaimTreasury(opts *bind.WatchOpts, sink chan<- *BtcvsethClaimTreasury) (event.Subscription, error)

WatchClaimTreasury is a free log subscription operation binding the contract event 0x609175abb7f12481e4f200d1ef4fc834e6caac3d9eadba42d664352f6d0932ca.

Solidity: event ClaimTreasury(uint256 amount)

func (*BtcvsethFilterer) WatchEndRound

func (_Btcvseth *BtcvsethFilterer) WatchEndRound(opts *bind.WatchOpts, sink chan<- *BtcvsethEndRound, epoch []*big.Int) (event.Subscription, error)

WatchEndRound is a free log subscription operation binding the contract event 0xe9a54ac39aff99983e21985115ac91548a416592079c5051ac3ea7e6716ded89.

Solidity: event EndRound(uint256 indexed epoch, uint256 blockNumber, int256 firstPrice, int256 secondPrice)

func (*BtcvsethFilterer) WatchLockRound

func (_Btcvseth *BtcvsethFilterer) WatchLockRound(opts *bind.WatchOpts, sink chan<- *BtcvsethLockRound, epoch []*big.Int) (event.Subscription, error)

WatchLockRound is a free log subscription operation binding the contract event 0x21ce5b865a74204726d5062101961300ef664b01ba3f6ddd9ee1bf71846f8e15.

Solidity: event LockRound(uint256 indexed epoch, uint256 blockNumber, int256 firstPrice, int256 secondPrice)

func (*BtcvsethFilterer) WatchMinBetAmountUpdated

func (_Btcvseth *BtcvsethFilterer) WatchMinBetAmountUpdated(opts *bind.WatchOpts, sink chan<- *BtcvsethMinBetAmountUpdated, epoch []*big.Int) (event.Subscription, error)

WatchMinBetAmountUpdated is a free log subscription operation binding the contract event 0x82480e97991520549ac4b5d0e1d97edb3bfac2666202923b6903d2a953dc7608.

Solidity: event MinBetAmountUpdated(uint256 indexed epoch, uint256 minBetAmount)

func (*BtcvsethFilterer) WatchOwnershipTransferred

func (_Btcvseth *BtcvsethFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BtcvsethOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BtcvsethFilterer) WatchPause

func (_Btcvseth *BtcvsethFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *BtcvsethPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x68b095021b1f40fe513109f513c66692f0b3219aee674a69f4efc57badb8201d.

Solidity: event Pause(uint256 epoch)

func (*BtcvsethFilterer) WatchPaused

func (_Btcvseth *BtcvsethFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *BtcvsethPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*BtcvsethFilterer) WatchRatesUpdated

func (_Btcvseth *BtcvsethFilterer) WatchRatesUpdated(opts *bind.WatchOpts, sink chan<- *BtcvsethRatesUpdated, epoch []*big.Int) (event.Subscription, error)

WatchRatesUpdated is a free log subscription operation binding the contract event 0x023010bc68e7f4c0be9887f513c570c7a0f5f511b9716abccd42bf3b8943532b.

Solidity: event RatesUpdated(uint256 indexed epoch, uint256 rewardRate, uint256 treasuryRate)

func (*BtcvsethFilterer) WatchRewardsCalculated

func (_Btcvseth *BtcvsethFilterer) WatchRewardsCalculated(opts *bind.WatchOpts, sink chan<- *BtcvsethRewardsCalculated, epoch []*big.Int) (event.Subscription, error)

WatchRewardsCalculated is a free log subscription operation binding the contract event 0x1a772e2472fb70d2e556c23d2829be73279aa2fa7997b9bd4660dbe1ff6e31f8.

Solidity: event RewardsCalculated(uint256 indexed epoch, uint256 rewardBaseCalAmount, uint256 rewardAmount, uint256 treasuryAmount, int256 firstPercent, int256 secondPercent)

func (*BtcvsethFilterer) WatchStartRound

func (_Btcvseth *BtcvsethFilterer) WatchStartRound(opts *bind.WatchOpts, sink chan<- *BtcvsethStartRound, epoch []*big.Int) (event.Subscription, error)

WatchStartRound is a free log subscription operation binding the contract event 0x0e5543feb86a4cd302f2b88b26c42be2d1673013a34e1f98bd6d524dd3b4ab41.

Solidity: event StartRound(uint256 indexed epoch, uint256 blockNumber)

func (*BtcvsethFilterer) WatchUnpause

func (_Btcvseth *BtcvsethFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *BtcvsethUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0xaaa520fdd7d2c83061d632fa017b0432407e798818af63ea908589fceda39ab7.

Solidity: event Unpause(uint256 epoch)

func (*BtcvsethFilterer) WatchUnpaused

func (_Btcvseth *BtcvsethFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *BtcvsethUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type BtcvsethLockRound

type BtcvsethLockRound struct {
	Epoch       *big.Int
	BlockNumber *big.Int
	FirstPrice  *big.Int
	SecondPrice *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

BtcvsethLockRound represents a LockRound event raised by the Btcvseth contract.

type BtcvsethLockRoundIterator

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

BtcvsethLockRoundIterator is returned from FilterLockRound and is used to iterate over the raw logs and unpacked data for LockRound events raised by the Btcvseth contract.

func (*BtcvsethLockRoundIterator) Close

func (it *BtcvsethLockRoundIterator) Close() error

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

func (*BtcvsethLockRoundIterator) Error

func (it *BtcvsethLockRoundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethLockRoundIterator) Next

func (it *BtcvsethLockRoundIterator) 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 BtcvsethMinBetAmountUpdated

type BtcvsethMinBetAmountUpdated struct {
	Epoch        *big.Int
	MinBetAmount *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BtcvsethMinBetAmountUpdated represents a MinBetAmountUpdated event raised by the Btcvseth contract.

type BtcvsethMinBetAmountUpdatedIterator

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

BtcvsethMinBetAmountUpdatedIterator is returned from FilterMinBetAmountUpdated and is used to iterate over the raw logs and unpacked data for MinBetAmountUpdated events raised by the Btcvseth contract.

func (*BtcvsethMinBetAmountUpdatedIterator) Close

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

func (*BtcvsethMinBetAmountUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethMinBetAmountUpdatedIterator) 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 BtcvsethOwnershipTransferred

type BtcvsethOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BtcvsethOwnershipTransferred represents a OwnershipTransferred event raised by the Btcvseth contract.

type BtcvsethOwnershipTransferredIterator

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

BtcvsethOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Btcvseth contract.

func (*BtcvsethOwnershipTransferredIterator) Close

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

func (*BtcvsethOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethOwnershipTransferredIterator) 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 BtcvsethPause

type BtcvsethPause struct {
	Epoch *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BtcvsethPause represents a Pause event raised by the Btcvseth contract.

type BtcvsethPauseIterator

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

BtcvsethPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Btcvseth contract.

func (*BtcvsethPauseIterator) Close

func (it *BtcvsethPauseIterator) Close() error

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

func (*BtcvsethPauseIterator) Error

func (it *BtcvsethPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethPauseIterator) Next

func (it *BtcvsethPauseIterator) 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 BtcvsethPaused

type BtcvsethPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BtcvsethPaused represents a Paused event raised by the Btcvseth contract.

type BtcvsethPausedIterator

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

BtcvsethPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Btcvseth contract.

func (*BtcvsethPausedIterator) Close

func (it *BtcvsethPausedIterator) Close() error

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

func (*BtcvsethPausedIterator) Error

func (it *BtcvsethPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethPausedIterator) Next

func (it *BtcvsethPausedIterator) 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 BtcvsethRatesUpdated

type BtcvsethRatesUpdated struct {
	Epoch        *big.Int
	RewardRate   *big.Int
	TreasuryRate *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BtcvsethRatesUpdated represents a RatesUpdated event raised by the Btcvseth contract.

type BtcvsethRatesUpdatedIterator

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

BtcvsethRatesUpdatedIterator is returned from FilterRatesUpdated and is used to iterate over the raw logs and unpacked data for RatesUpdated events raised by the Btcvseth contract.

func (*BtcvsethRatesUpdatedIterator) Close

func (it *BtcvsethRatesUpdatedIterator) Close() error

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

func (*BtcvsethRatesUpdatedIterator) Error

func (it *BtcvsethRatesUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethRatesUpdatedIterator) 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 BtcvsethRaw

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

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

func (*BtcvsethRaw) Call

func (_Btcvseth *BtcvsethRaw) 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 (*BtcvsethRaw) Transact

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

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

func (*BtcvsethRaw) Transfer

func (_Btcvseth *BtcvsethRaw) 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 BtcvsethRewardsCalculated

type BtcvsethRewardsCalculated struct {
	Epoch               *big.Int
	RewardBaseCalAmount *big.Int
	RewardAmount        *big.Int
	TreasuryAmount      *big.Int
	FirstPercent        *big.Int
	SecondPercent       *big.Int
	Raw                 types.Log // Blockchain specific contextual infos
}

BtcvsethRewardsCalculated represents a RewardsCalculated event raised by the Btcvseth contract.

type BtcvsethRewardsCalculatedIterator

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

BtcvsethRewardsCalculatedIterator is returned from FilterRewardsCalculated and is used to iterate over the raw logs and unpacked data for RewardsCalculated events raised by the Btcvseth contract.

func (*BtcvsethRewardsCalculatedIterator) Close

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

func (*BtcvsethRewardsCalculatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethRewardsCalculatedIterator) 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 BtcvsethSession

type BtcvsethSession struct {
	Contract     *Btcvseth         // 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
}

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

func (*BtcvsethSession) AdminAddress

func (_Btcvseth *BtcvsethSession) AdminAddress() (common.Address, error)

AdminAddress is a free data retrieval call binding the contract method 0xfc6f9468.

Solidity: function adminAddress() view returns(address)

func (*BtcvsethSession) BetBear

func (_Btcvseth *BtcvsethSession) BetBear() (*types.Transaction, error)

BetBear is a paid mutator transaction binding the contract method 0x0088160f.

Solidity: function betBear() payable returns()

func (*BtcvsethSession) BetBull

func (_Btcvseth *BtcvsethSession) BetBull() (*types.Transaction, error)

BetBull is a paid mutator transaction binding the contract method 0x821daba1.

Solidity: function betBull() payable returns()

func (*BtcvsethSession) BufferBlocks

func (_Btcvseth *BtcvsethSession) BufferBlocks() (*big.Int, error)

BufferBlocks is a free data retrieval call binding the contract method 0x9780a752.

Solidity: function bufferBlocks() view returns(uint256)

func (*BtcvsethSession) Claim

func (_Btcvseth *BtcvsethSession) Claim(epoch *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 epoch) returns()

func (*BtcvsethSession) ClaimTreasury

func (_Btcvseth *BtcvsethSession) ClaimTreasury() (*types.Transaction, error)

ClaimTreasury is a paid mutator transaction binding the contract method 0x003bdc74.

Solidity: function claimTreasury() returns()

func (*BtcvsethSession) Claimable

func (_Btcvseth *BtcvsethSession) Claimable(epoch *big.Int, user common.Address) (bool, error)

Claimable is a free data retrieval call binding the contract method 0xa0c7f71c.

Solidity: function claimable(uint256 epoch, address user) view returns(bool)

func (*BtcvsethSession) CurrentEpoch

func (_Btcvseth *BtcvsethSession) CurrentEpoch() (*big.Int, error)

CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.

Solidity: function currentEpoch() view returns(uint256)

func (*BtcvsethSession) ExecuteRound

func (_Btcvseth *BtcvsethSession) ExecuteRound() (*types.Transaction, error)

ExecuteRound is a paid mutator transaction binding the contract method 0x7b3205f5.

Solidity: function executeRound() returns()

func (*BtcvsethSession) GenesisLockOnce

func (_Btcvseth *BtcvsethSession) GenesisLockOnce() (bool, error)

GenesisLockOnce is a free data retrieval call binding the contract method 0x0f74174f.

Solidity: function genesisLockOnce() view returns(bool)

func (*BtcvsethSession) GenesisLockRound

func (_Btcvseth *BtcvsethSession) GenesisLockRound() (*types.Transaction, error)

GenesisLockRound is a paid mutator transaction binding the contract method 0xd9d55eac.

Solidity: function genesisLockRound() returns()

func (*BtcvsethSession) GenesisStartOnce

func (_Btcvseth *BtcvsethSession) GenesisStartOnce() (bool, error)

GenesisStartOnce is a free data retrieval call binding the contract method 0xf7fdec28.

Solidity: function genesisStartOnce() view returns(bool)

func (*BtcvsethSession) GenesisStartRound

func (_Btcvseth *BtcvsethSession) GenesisStartRound() (*types.Transaction, error)

GenesisStartRound is a paid mutator transaction binding the contract method 0x452fd75a.

Solidity: function genesisStartRound() returns()

func (*BtcvsethSession) GetUserRounds

func (_Btcvseth *BtcvsethSession) GetUserRounds(user common.Address, cursor *big.Int, size *big.Int) ([]*big.Int, *big.Int, error)

GetUserRounds is a free data retrieval call binding the contract method 0x951fd600.

Solidity: function getUserRounds(address user, uint256 cursor, uint256 size) view returns(uint256[], uint256)

func (*BtcvsethSession) IntervalBlocks

func (_Btcvseth *BtcvsethSession) IntervalBlocks() (*big.Int, error)

IntervalBlocks is a free data retrieval call binding the contract method 0x1ec9f34b.

Solidity: function intervalBlocks() view returns(uint256)

func (*BtcvsethSession) Ledger

func (_Btcvseth *BtcvsethSession) Ledger(arg0 *big.Int, arg1 common.Address) (struct {
	Position uint8
	Amount   *big.Int
	Claimed  bool
}, error)

Ledger is a free data retrieval call binding the contract method 0x7285c58b.

Solidity: function ledger(uint256 , address ) view returns(uint8 position, uint256 amount, bool claimed)

func (*BtcvsethSession) MinBetAmount

func (_Btcvseth *BtcvsethSession) MinBetAmount() (*big.Int, error)

MinBetAmount is a free data retrieval call binding the contract method 0xfa968eea.

Solidity: function minBetAmount() view returns(uint256)

func (*BtcvsethSession) OperatorAddress

func (_Btcvseth *BtcvsethSession) OperatorAddress() (common.Address, error)

OperatorAddress is a free data retrieval call binding the contract method 0x127effb2.

Solidity: function operatorAddress() view returns(address)

func (*BtcvsethSession) OracleFirstLatestRoundId

func (_Btcvseth *BtcvsethSession) OracleFirstLatestRoundId() (*big.Int, error)

OracleFirstLatestRoundId is a free data retrieval call binding the contract method 0x91e5ae4f.

Solidity: function oracleFirstLatestRoundId() view returns(uint256)

func (*BtcvsethSession) OracleSecondLatestRoundId

func (_Btcvseth *BtcvsethSession) OracleSecondLatestRoundId() (*big.Int, error)

OracleSecondLatestRoundId is a free data retrieval call binding the contract method 0xb1802631.

Solidity: function oracleSecondLatestRoundId() view returns(uint256)

func (*BtcvsethSession) OracleUpdateAllowance

func (_Btcvseth *BtcvsethSession) OracleUpdateAllowance() (*big.Int, error)

OracleUpdateAllowance is a free data retrieval call binding the contract method 0x60554011.

Solidity: function oracleUpdateAllowance() view returns(uint256)

func (*BtcvsethSession) Owner

func (_Btcvseth *BtcvsethSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BtcvsethSession) Pause

func (_Btcvseth *BtcvsethSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BtcvsethSession) Paused

func (_Btcvseth *BtcvsethSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*BtcvsethSession) Refundable

func (_Btcvseth *BtcvsethSession) Refundable(epoch *big.Int, user common.Address) (bool, error)

Refundable is a free data retrieval call binding the contract method 0x7bf41254.

Solidity: function refundable(uint256 epoch, address user) view returns(bool)

func (*BtcvsethSession) RenounceOwnership

func (_Btcvseth *BtcvsethSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BtcvsethSession) RewardRate

func (_Btcvseth *BtcvsethSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*BtcvsethSession) Rounds

func (_Btcvseth *BtcvsethSession) Rounds(arg0 *big.Int) (struct {
	Epoch               *big.Int
	StartBlock          *big.Int
	LockBlock           *big.Int
	EndBlock            *big.Int
	LockFirstPrice      *big.Int
	CloseFirstPrice     *big.Int
	LockSecondPrice     *big.Int
	CloseSecondPrice    *big.Int
	TotalAmount         *big.Int
	BullAmount          *big.Int
	BearAmount          *big.Int
	RewardBaseCalAmount *big.Int
	RewardAmount        *big.Int
	OracleCalled        bool
}, error)

Rounds is a free data retrieval call binding the contract method 0x8c65c81f.

Solidity: function rounds(uint256 ) view returns(uint256 epoch, uint256 startBlock, uint256 lockBlock, uint256 endBlock, int256 lockFirstPrice, int256 closeFirstPrice, int256 lockSecondPrice, int256 closeSecondPrice, uint256 totalAmount, uint256 bullAmount, uint256 bearAmount, uint256 rewardBaseCalAmount, uint256 rewardAmount, bool oracleCalled)

func (*BtcvsethSession) SetAdmin

func (_Btcvseth *BtcvsethSession) SetAdmin(_adminAddress common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address _adminAddress) returns()

func (*BtcvsethSession) SetBufferBlocks

func (_Btcvseth *BtcvsethSession) SetBufferBlocks(_bufferBlocks *big.Int) (*types.Transaction, error)

SetBufferBlocks is a paid mutator transaction binding the contract method 0x10c0ee64.

Solidity: function setBufferBlocks(uint256 _bufferBlocks) returns()

func (*BtcvsethSession) SetFirstOracle

func (_Btcvseth *BtcvsethSession) SetFirstOracle(_oracle common.Address) (*types.Transaction, error)

SetFirstOracle is a paid mutator transaction binding the contract method 0xb4a26343.

Solidity: function setFirstOracle(address _oracle) returns()

func (*BtcvsethSession) SetIntervalBlocks

func (_Btcvseth *BtcvsethSession) SetIntervalBlocks(_intervalBlocks *big.Int) (*types.Transaction, error)

SetIntervalBlocks is a paid mutator transaction binding the contract method 0xa067455b.

Solidity: function setIntervalBlocks(uint256 _intervalBlocks) returns()

func (*BtcvsethSession) SetMinBetAmount

func (_Btcvseth *BtcvsethSession) SetMinBetAmount(_minBetAmount *big.Int) (*types.Transaction, error)

SetMinBetAmount is a paid mutator transaction binding the contract method 0x6c188593.

Solidity: function setMinBetAmount(uint256 _minBetAmount) returns()

func (*BtcvsethSession) SetOperator

func (_Btcvseth *BtcvsethSession) SetOperator(_operatorAddress common.Address) (*types.Transaction, error)

SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.

Solidity: function setOperator(address _operatorAddress) returns()

func (*BtcvsethSession) SetOracleUpdateAllowance

func (_Btcvseth *BtcvsethSession) SetOracleUpdateAllowance(_oracleUpdateAllowance *big.Int) (*types.Transaction, error)

SetOracleUpdateAllowance is a paid mutator transaction binding the contract method 0xcf2f5039.

Solidity: function setOracleUpdateAllowance(uint256 _oracleUpdateAllowance) returns()

func (*BtcvsethSession) SetRewardRate

func (_Btcvseth *BtcvsethSession) SetRewardRate(_rewardRate *big.Int) (*types.Transaction, error)

SetRewardRate is a paid mutator transaction binding the contract method 0x9e447fc6.

Solidity: function setRewardRate(uint256 _rewardRate) returns()

func (*BtcvsethSession) SetSecondOracle

func (_Btcvseth *BtcvsethSession) SetSecondOracle(_oracle common.Address) (*types.Transaction, error)

SetSecondOracle is a paid mutator transaction binding the contract method 0xedb5e796.

Solidity: function setSecondOracle(address _oracle) returns()

func (*BtcvsethSession) SetTreasuryRate

func (_Btcvseth *BtcvsethSession) SetTreasuryRate(_treasuryRate *big.Int) (*types.Transaction, error)

SetTreasuryRate is a paid mutator transaction binding the contract method 0xd0bf9c54.

Solidity: function setTreasuryRate(uint256 _treasuryRate) returns()

func (*BtcvsethSession) TOTALRATE

func (_Btcvseth *BtcvsethSession) TOTALRATE() (*big.Int, error)

TOTALRATE is a free data retrieval call binding the contract method 0xb29c299b.

Solidity: function TOTAL_RATE() view returns(uint256)

func (*BtcvsethSession) TransferOwnership

func (_Btcvseth *BtcvsethSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BtcvsethSession) TreasuryAmount

func (_Btcvseth *BtcvsethSession) TreasuryAmount() (*big.Int, error)

TreasuryAmount is a free data retrieval call binding the contract method 0x368acb09.

Solidity: function treasuryAmount() view returns(uint256)

func (*BtcvsethSession) TreasuryRate

func (_Btcvseth *BtcvsethSession) TreasuryRate() (*big.Int, error)

TreasuryRate is a free data retrieval call binding the contract method 0xe4b72516.

Solidity: function treasuryRate() view returns(uint256)

func (*BtcvsethSession) Unpause

func (_Btcvseth *BtcvsethSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*BtcvsethSession) UserRounds

func (_Btcvseth *BtcvsethSession) UserRounds(arg0 common.Address, arg1 *big.Int) (*big.Int, error)

UserRounds is a free data retrieval call binding the contract method 0xdd1f7596.

Solidity: function userRounds(address , uint256 ) view returns(uint256)

type BtcvsethStartRound

type BtcvsethStartRound struct {
	Epoch       *big.Int
	BlockNumber *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

BtcvsethStartRound represents a StartRound event raised by the Btcvseth contract.

type BtcvsethStartRoundIterator

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

BtcvsethStartRoundIterator is returned from FilterStartRound and is used to iterate over the raw logs and unpacked data for StartRound events raised by the Btcvseth contract.

func (*BtcvsethStartRoundIterator) Close

func (it *BtcvsethStartRoundIterator) Close() error

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

func (*BtcvsethStartRoundIterator) Error

func (it *BtcvsethStartRoundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethStartRoundIterator) Next

func (it *BtcvsethStartRoundIterator) 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 BtcvsethTransactor

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

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

func NewBtcvsethTransactor

func NewBtcvsethTransactor(address common.Address, transactor bind.ContractTransactor) (*BtcvsethTransactor, error)

NewBtcvsethTransactor creates a new write-only instance of Btcvseth, bound to a specific deployed contract.

func (*BtcvsethTransactor) BetBear

func (_Btcvseth *BtcvsethTransactor) BetBear(opts *bind.TransactOpts) (*types.Transaction, error)

BetBear is a paid mutator transaction binding the contract method 0x0088160f.

Solidity: function betBear() payable returns()

func (*BtcvsethTransactor) BetBull

func (_Btcvseth *BtcvsethTransactor) BetBull(opts *bind.TransactOpts) (*types.Transaction, error)

BetBull is a paid mutator transaction binding the contract method 0x821daba1.

Solidity: function betBull() payable returns()

func (*BtcvsethTransactor) Claim

func (_Btcvseth *BtcvsethTransactor) Claim(opts *bind.TransactOpts, epoch *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 epoch) returns()

func (*BtcvsethTransactor) ClaimTreasury

func (_Btcvseth *BtcvsethTransactor) ClaimTreasury(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimTreasury is a paid mutator transaction binding the contract method 0x003bdc74.

Solidity: function claimTreasury() returns()

func (*BtcvsethTransactor) ExecuteRound

func (_Btcvseth *BtcvsethTransactor) ExecuteRound(opts *bind.TransactOpts) (*types.Transaction, error)

ExecuteRound is a paid mutator transaction binding the contract method 0x7b3205f5.

Solidity: function executeRound() returns()

func (*BtcvsethTransactor) GenesisLockRound

func (_Btcvseth *BtcvsethTransactor) GenesisLockRound(opts *bind.TransactOpts) (*types.Transaction, error)

GenesisLockRound is a paid mutator transaction binding the contract method 0xd9d55eac.

Solidity: function genesisLockRound() returns()

func (*BtcvsethTransactor) GenesisStartRound

func (_Btcvseth *BtcvsethTransactor) GenesisStartRound(opts *bind.TransactOpts) (*types.Transaction, error)

GenesisStartRound is a paid mutator transaction binding the contract method 0x452fd75a.

Solidity: function genesisStartRound() returns()

func (*BtcvsethTransactor) Pause

func (_Btcvseth *BtcvsethTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BtcvsethTransactor) RenounceOwnership

func (_Btcvseth *BtcvsethTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BtcvsethTransactor) SetAdmin

func (_Btcvseth *BtcvsethTransactor) SetAdmin(opts *bind.TransactOpts, _adminAddress common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address _adminAddress) returns()

func (*BtcvsethTransactor) SetBufferBlocks

func (_Btcvseth *BtcvsethTransactor) SetBufferBlocks(opts *bind.TransactOpts, _bufferBlocks *big.Int) (*types.Transaction, error)

SetBufferBlocks is a paid mutator transaction binding the contract method 0x10c0ee64.

Solidity: function setBufferBlocks(uint256 _bufferBlocks) returns()

func (*BtcvsethTransactor) SetFirstOracle

func (_Btcvseth *BtcvsethTransactor) SetFirstOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

SetFirstOracle is a paid mutator transaction binding the contract method 0xb4a26343.

Solidity: function setFirstOracle(address _oracle) returns()

func (*BtcvsethTransactor) SetIntervalBlocks

func (_Btcvseth *BtcvsethTransactor) SetIntervalBlocks(opts *bind.TransactOpts, _intervalBlocks *big.Int) (*types.Transaction, error)

SetIntervalBlocks is a paid mutator transaction binding the contract method 0xa067455b.

Solidity: function setIntervalBlocks(uint256 _intervalBlocks) returns()

func (*BtcvsethTransactor) SetMinBetAmount

func (_Btcvseth *BtcvsethTransactor) SetMinBetAmount(opts *bind.TransactOpts, _minBetAmount *big.Int) (*types.Transaction, error)

SetMinBetAmount is a paid mutator transaction binding the contract method 0x6c188593.

Solidity: function setMinBetAmount(uint256 _minBetAmount) returns()

func (*BtcvsethTransactor) SetOperator

func (_Btcvseth *BtcvsethTransactor) SetOperator(opts *bind.TransactOpts, _operatorAddress common.Address) (*types.Transaction, error)

SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.

Solidity: function setOperator(address _operatorAddress) returns()

func (*BtcvsethTransactor) SetOracleUpdateAllowance

func (_Btcvseth *BtcvsethTransactor) SetOracleUpdateAllowance(opts *bind.TransactOpts, _oracleUpdateAllowance *big.Int) (*types.Transaction, error)

SetOracleUpdateAllowance is a paid mutator transaction binding the contract method 0xcf2f5039.

Solidity: function setOracleUpdateAllowance(uint256 _oracleUpdateAllowance) returns()

func (*BtcvsethTransactor) SetRewardRate

func (_Btcvseth *BtcvsethTransactor) SetRewardRate(opts *bind.TransactOpts, _rewardRate *big.Int) (*types.Transaction, error)

SetRewardRate is a paid mutator transaction binding the contract method 0x9e447fc6.

Solidity: function setRewardRate(uint256 _rewardRate) returns()

func (*BtcvsethTransactor) SetSecondOracle

func (_Btcvseth *BtcvsethTransactor) SetSecondOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

SetSecondOracle is a paid mutator transaction binding the contract method 0xedb5e796.

Solidity: function setSecondOracle(address _oracle) returns()

func (*BtcvsethTransactor) SetTreasuryRate

func (_Btcvseth *BtcvsethTransactor) SetTreasuryRate(opts *bind.TransactOpts, _treasuryRate *big.Int) (*types.Transaction, error)

SetTreasuryRate is a paid mutator transaction binding the contract method 0xd0bf9c54.

Solidity: function setTreasuryRate(uint256 _treasuryRate) returns()

func (*BtcvsethTransactor) TransferOwnership

func (_Btcvseth *BtcvsethTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BtcvsethTransactor) Unpause

func (_Btcvseth *BtcvsethTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type BtcvsethTransactorRaw

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

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

func (*BtcvsethTransactorRaw) Transact

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

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

func (*BtcvsethTransactorRaw) Transfer

func (_Btcvseth *BtcvsethTransactorRaw) 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 BtcvsethTransactorSession

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

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

func (*BtcvsethTransactorSession) BetBear

func (_Btcvseth *BtcvsethTransactorSession) BetBear() (*types.Transaction, error)

BetBear is a paid mutator transaction binding the contract method 0x0088160f.

Solidity: function betBear() payable returns()

func (*BtcvsethTransactorSession) BetBull

func (_Btcvseth *BtcvsethTransactorSession) BetBull() (*types.Transaction, error)

BetBull is a paid mutator transaction binding the contract method 0x821daba1.

Solidity: function betBull() payable returns()

func (*BtcvsethTransactorSession) Claim

func (_Btcvseth *BtcvsethTransactorSession) Claim(epoch *big.Int) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x379607f5.

Solidity: function claim(uint256 epoch) returns()

func (*BtcvsethTransactorSession) ClaimTreasury

func (_Btcvseth *BtcvsethTransactorSession) ClaimTreasury() (*types.Transaction, error)

ClaimTreasury is a paid mutator transaction binding the contract method 0x003bdc74.

Solidity: function claimTreasury() returns()

func (*BtcvsethTransactorSession) ExecuteRound

func (_Btcvseth *BtcvsethTransactorSession) ExecuteRound() (*types.Transaction, error)

ExecuteRound is a paid mutator transaction binding the contract method 0x7b3205f5.

Solidity: function executeRound() returns()

func (*BtcvsethTransactorSession) GenesisLockRound

func (_Btcvseth *BtcvsethTransactorSession) GenesisLockRound() (*types.Transaction, error)

GenesisLockRound is a paid mutator transaction binding the contract method 0xd9d55eac.

Solidity: function genesisLockRound() returns()

func (*BtcvsethTransactorSession) GenesisStartRound

func (_Btcvseth *BtcvsethTransactorSession) GenesisStartRound() (*types.Transaction, error)

GenesisStartRound is a paid mutator transaction binding the contract method 0x452fd75a.

Solidity: function genesisStartRound() returns()

func (*BtcvsethTransactorSession) Pause

func (_Btcvseth *BtcvsethTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*BtcvsethTransactorSession) RenounceOwnership

func (_Btcvseth *BtcvsethTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BtcvsethTransactorSession) SetAdmin

func (_Btcvseth *BtcvsethTransactorSession) SetAdmin(_adminAddress common.Address) (*types.Transaction, error)

SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.

Solidity: function setAdmin(address _adminAddress) returns()

func (*BtcvsethTransactorSession) SetBufferBlocks

func (_Btcvseth *BtcvsethTransactorSession) SetBufferBlocks(_bufferBlocks *big.Int) (*types.Transaction, error)

SetBufferBlocks is a paid mutator transaction binding the contract method 0x10c0ee64.

Solidity: function setBufferBlocks(uint256 _bufferBlocks) returns()

func (*BtcvsethTransactorSession) SetFirstOracle

func (_Btcvseth *BtcvsethTransactorSession) SetFirstOracle(_oracle common.Address) (*types.Transaction, error)

SetFirstOracle is a paid mutator transaction binding the contract method 0xb4a26343.

Solidity: function setFirstOracle(address _oracle) returns()

func (*BtcvsethTransactorSession) SetIntervalBlocks

func (_Btcvseth *BtcvsethTransactorSession) SetIntervalBlocks(_intervalBlocks *big.Int) (*types.Transaction, error)

SetIntervalBlocks is a paid mutator transaction binding the contract method 0xa067455b.

Solidity: function setIntervalBlocks(uint256 _intervalBlocks) returns()

func (*BtcvsethTransactorSession) SetMinBetAmount

func (_Btcvseth *BtcvsethTransactorSession) SetMinBetAmount(_minBetAmount *big.Int) (*types.Transaction, error)

SetMinBetAmount is a paid mutator transaction binding the contract method 0x6c188593.

Solidity: function setMinBetAmount(uint256 _minBetAmount) returns()

func (*BtcvsethTransactorSession) SetOperator

func (_Btcvseth *BtcvsethTransactorSession) SetOperator(_operatorAddress common.Address) (*types.Transaction, error)

SetOperator is a paid mutator transaction binding the contract method 0xb3ab15fb.

Solidity: function setOperator(address _operatorAddress) returns()

func (*BtcvsethTransactorSession) SetOracleUpdateAllowance

func (_Btcvseth *BtcvsethTransactorSession) SetOracleUpdateAllowance(_oracleUpdateAllowance *big.Int) (*types.Transaction, error)

SetOracleUpdateAllowance is a paid mutator transaction binding the contract method 0xcf2f5039.

Solidity: function setOracleUpdateAllowance(uint256 _oracleUpdateAllowance) returns()

func (*BtcvsethTransactorSession) SetRewardRate

func (_Btcvseth *BtcvsethTransactorSession) SetRewardRate(_rewardRate *big.Int) (*types.Transaction, error)

SetRewardRate is a paid mutator transaction binding the contract method 0x9e447fc6.

Solidity: function setRewardRate(uint256 _rewardRate) returns()

func (*BtcvsethTransactorSession) SetSecondOracle

func (_Btcvseth *BtcvsethTransactorSession) SetSecondOracle(_oracle common.Address) (*types.Transaction, error)

SetSecondOracle is a paid mutator transaction binding the contract method 0xedb5e796.

Solidity: function setSecondOracle(address _oracle) returns()

func (*BtcvsethTransactorSession) SetTreasuryRate

func (_Btcvseth *BtcvsethTransactorSession) SetTreasuryRate(_treasuryRate *big.Int) (*types.Transaction, error)

SetTreasuryRate is a paid mutator transaction binding the contract method 0xd0bf9c54.

Solidity: function setTreasuryRate(uint256 _treasuryRate) returns()

func (*BtcvsethTransactorSession) TransferOwnership

func (_Btcvseth *BtcvsethTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BtcvsethTransactorSession) Unpause

func (_Btcvseth *BtcvsethTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type BtcvsethUnpause

type BtcvsethUnpause struct {
	Epoch *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

BtcvsethUnpause represents a Unpause event raised by the Btcvseth contract.

type BtcvsethUnpauseIterator

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

BtcvsethUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Btcvseth contract.

func (*BtcvsethUnpauseIterator) Close

func (it *BtcvsethUnpauseIterator) Close() error

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

func (*BtcvsethUnpauseIterator) Error

func (it *BtcvsethUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethUnpauseIterator) Next

func (it *BtcvsethUnpauseIterator) 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 BtcvsethUnpaused

type BtcvsethUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

BtcvsethUnpaused represents a Unpaused event raised by the Btcvseth contract.

type BtcvsethUnpausedIterator

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

BtcvsethUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Btcvseth contract.

func (*BtcvsethUnpausedIterator) Close

func (it *BtcvsethUnpausedIterator) Close() error

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

func (*BtcvsethUnpausedIterator) Error

func (it *BtcvsethUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtcvsethUnpausedIterator) Next

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