Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MainNetAddress = common.HexToAddress("0x3D44ba608CD67f175650596E6ae688f396D867ff") TestNetAddress = common.HexToAddress("0x3D44ba608CD67f175650596E6ae688f396D867ff") )
Functions ¶
This section is empty.
Types ¶
type RewardContainer ¶
type RewardContainer struct { *contract.RewardContainerSession // contains filtered or unexported fields }
RewardContainer is the container for the reward given by QuadransFoundation
func DeployRewardContainer ¶
func DeployRewardContainer(transactOpts *bind.TransactOpts, contractBackend bind.ContractBackend) (common.Address, *RewardContainer, error)
DeployRewardContainer deploys an instance of the RewardContainer smart contract.
func NewRewardContainer ¶
func NewRewardContainer(transactOpts *bind.TransactOpts, contractAddr common.Address, contractBackend bind.ContractBackend) (*RewardContainer, error)
NewRewardContainer creates a struct exposing convenient high-level operations for interacting with the RewardContainer smart contract.
func (*RewardContainer) GetActualReward ¶
func (RewardContainer *RewardContainer) GetActualReward() (*big.Int, error)
SetContentHash sets the content hash associated with a name. Only works if the caller owns the name, and the associated resolver implements a `setContent` function.
Click to show internal directories.
Click to hide internal directories.