Documentation
¶
Index ¶
- Constants
- func FlowFees(fungibleTokenAddress, flowTokenAddress string) []byte
- func FlowIDTableStaking(fungibleTokenAddress, flowTokenAddress string) []byte
- func FlowLockedTokens(...) []byte
- func FlowServiceAccount(...) []byte
- func FlowStakingProxy() []byte
- func FlowStorageFees(fungibleTokenAddress, flowTokenAddress string) []byte
- func FlowToken(fungibleTokenAddress string) []byte
- func FungibleToken() []byte
- func TESTFlowIDTableStaking(fungibleTokenAddress, flowTokenAddress string) []byte
Constants ¶
const (
// Test contracts
TESTFlowIdentityTableFilename = "testContracts/TestFlowIDTableStaking.cdc"
)
Variables ¶
This section is empty.
Functions ¶
func FlowFees ¶
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
FlowIDTableStaking returns the FlowIDTableStaking contract
func FlowLockedTokens ¶ added in v0.6.0
func FlowLockedTokens( fungibleTokenAddress, flowTokenAddress, idTableAddress, stakingProxyAddress, storageFeesAddress string, ) []byte
FlowLockedTokens return the LockedTokens contract
func FlowServiceAccount ¶
func FlowServiceAccount(fungibleTokenAddress, flowTokenAddress, flowFeesAddress, storageFeesAddress string) []byte
FlowServiceAccount returns the FlowServiceAccount contract.
The returned contract will import the FungibleToken, FlowToken and FlowFees contracts from the specified addresses.
func FlowStakingProxy ¶ added in v0.6.0
func FlowStakingProxy() []byte
FlowStakingProxy returns the StakingProxy contract.
func FlowStorageFees ¶ added in v0.7.1
FlowStorageFees returns the FlowStorageFees contract.
func FlowToken ¶
FlowToken returns the FlowToken contract.
The returned contract will import the FungibleToken contract from the specified address.
func FungibleToken ¶
func FungibleToken() []byte
FungibleToken returns the FungibleToken contract interface.
func TESTFlowIDTableStaking ¶ added in v0.6.0
TESTFlowIDTableStaking returns the TestFlowIDTableStaking contract
Types ¶
This section is empty.