Documentation
¶
Index ¶
- Constants
- func Burner() []byte
- func FlowContractAudits() []byte
- func FlowDKG() []byte
- func FlowEpoch(env templates.Environment) []byte
- func FlowFees(env templates.Environment) []byte
- func FlowIDTableStaking(env templates.Environment) []byte
- func FlowLockedTokens(env templates.Environment) []byte
- func FlowQC() []byte
- func FlowServiceAccount(env templates.Environment) []byte
- func FlowStakingCollection(env templates.Environment) []byte
- func FlowStakingProxy() []byte
- func FlowStorageFees(env templates.Environment) []byte
- func FlowToken(env templates.Environment) []byte
- func FungibleToken(env templates.Environment) []byte
- func FungibleTokenMetadataViews(env templates.Environment) []byte
- func FungibleTokenSwitchboard(env templates.Environment) []byte
- func MetadataViews(env templates.Environment) []byte
- func NodeVersionBeacon() []byte
- func NonFungibleToken(env templates.Environment) []byte
- func RandomBeaconHistory() []byte
- func TESTFlowIDTableStaking(fungibleTokenAddress, flowTokenAddress string) []byte
- func TESTFlowStakingCollection(...) []byte
- func TestFlowFees(fungibleTokenAddress, flowTokenAddress, storageFeesAddress string) []byte
- func ViewResolver() []byte
Constants ¶
const ( // Test contracts // only used for testing TESTFlowIdentityTableFilename = "testContracts/TestFlowIDTableStaking.cdc" )
Variables ¶
This section is empty.
Functions ¶
func FlowContractAudits ¶ added in v0.10.1
func FlowContractAudits() []byte
FlowContractAudits returns the deprecated FlowContractAudits contract. This contract is no longer used on any network
func FlowEpoch ¶ added in v0.7.4
func FlowEpoch(env templates.Environment) []byte
FlowEpoch returns the FlowEpoch contract.
func FlowFees ¶
func FlowFees(env templates.Environment) []byte
FlowFees returns the FlowFees contract.
The returned contract will import the FungibleToken and FlowToken contracts from the specified addresses.
func FlowIDTableStaking ¶ added in v0.6.0
func FlowIDTableStaking(env templates.Environment) []byte
FlowIDTableStaking returns the FlowIDTableStaking contract
func FlowLockedTokens ¶ added in v0.6.0
func FlowLockedTokens( env templates.Environment, ) []byte
FlowLockedTokens return the LockedTokens contract
Locked Tokens imports FungibleToken, FlowToken, FlowIDTableStaking, StakingProxy, and FlowStorageFees
func FlowServiceAccount ¶
func FlowServiceAccount(env templates.Environment) []byte
FlowServiceAccount returns the FlowServiceAccount contract.
The returned contract will import the FungibleToken, FlowToken, FlowFees, and FlowStorageFees contracts from the specified addresses.
func FlowStakingCollection ¶ added in v0.7.3
func FlowStakingCollection( env templates.Environment, ) []byte
FlowStakingCollection returns the StakingCollection contract.
func FlowStakingProxy ¶ added in v0.6.0
func FlowStakingProxy() []byte
FlowStakingProxy returns the StakingProxy contract.
func FlowStorageFees ¶ added in v0.7.1
func FlowStorageFees(env templates.Environment) []byte
FlowStorageFees returns the FlowStorageFees contract which imports the fungible token and flow token contracts
func FlowToken ¶
func FlowToken(env templates.Environment) []byte
FlowToken returns the FlowToken contract.
The returned contract will import the FungibleToken contract from the specified address.
func FungibleToken ¶
func FungibleToken(env templates.Environment) []byte
FungibleToken returns the FungibleToken contract interface.
func FungibleTokenMetadataViews ¶ added in v0.14.0
func FungibleTokenMetadataViews(env templates.Environment) []byte
FungibleTokenMetadataViews returns the FungibleTokenMetadataViews contract interface.
func FungibleTokenSwitchboard ¶ added in v1.0.0
func FungibleTokenSwitchboard(env templates.Environment) []byte
FungibleTokenSwitchboard returns the FungibleTokenSwitchboard contract interface.
func MetadataViews ¶ added in v0.14.0
func MetadataViews(env templates.Environment) []byte
MetadataViews returns the MetadataViews contract interface.
func NodeVersionBeacon ¶ added in v0.12.2
func NodeVersionBeacon() []byte
NodeVersionBeacon returns the NodeVersionBeacon contract content.
func NonFungibleToken ¶ added in v0.14.0
func NonFungibleToken(env templates.Environment) []byte
func RandomBeaconHistory ¶ added in v0.14.0
func RandomBeaconHistory() []byte
func TESTFlowIDTableStaking ¶ added in v0.6.0
TESTFlowIDTableStaking returns the TestFlowIDTableStaking contract
func TESTFlowStakingCollection ¶ added in v0.7.3
func TESTFlowStakingCollection( fungibleTokenAddress, flowTokenAddress, idTableAddress, stakingProxyAddress, lockedTokensAddress, storageFeesAddress, qcAddress, dkgAddress, epochAddress string, ) []byte
TESTFlowStakingCollection returns the StakingCollection contract with all public fields and functions.
func TestFlowFees ¶ added in v0.7.9
func ViewResolver ¶ added in v0.14.0
func ViewResolver() []byte
Types ¶
This section is empty.