rewardcontainer

package
v0.0.0-...-cc9b3d1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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