Documentation ¶
Index ¶
- Constants
- func CreateFlowTokenMinterTransaction(service, flowToken flow.Address) *flow.TransactionBody
- func DeployContractTransaction(address flow.Address, contract []byte, contractName string) *flow.TransactionBody
- func DeployFlowTokenContractTransaction(service, fungibleToken, flowToken flow.Address) *flow.TransactionBody
- func DeployFungibleTokenContractTransaction(fungibleToken flow.Address) *flow.TransactionBody
- func DeployStorageFeesContractTransaction(service flow.Address, contract []byte) *flow.TransactionBody
- func DeployTxFeesContractTransaction(service, fungibleToken, flowToken, flowFees flow.Address) *flow.TransactionBody
- func GetFlowTokenAvailableBalanceScript(accountAddress, serviceAddress flow.Address) []byte
- func GetFlowTokenBalanceScript(accountAddress, serviceAddress flow.Address) []byte
- func GetStorageCapacityScript(accountAddress, serviceAddress flow.Address) []byte
- func InitAccountTransaction(payerAddress flow.Address, accountAddress flow.Address, ...) *flow.TransactionBody
- func MintFlowTokenTransaction(fungibleToken, flowToken, service flow.Address, initialSupply cadence.UFix64) *flow.TransactionBody
- func SetContractDeploymentAuthorizersTransaction(serviceAccount flow.Address, authorized []flow.Address) (*flow.TransactionBody, error)
- func SetStakingAllowlistTransaction(idTableStakingAddr flow.Address, allowedNodeIDs []flow.Identifier) *flow.TransactionBody
- func SetupFeesTransaction(service flow.Address, ...) *flow.TransactionBody
- func SetupStorageForServiceAccountsTransaction(service, fungibleToken, flowToken, feeContract flow.Address) *flow.TransactionBody
- func SystemChunkTransaction(chain flow.Chain) (*flow.TransactionBody, error)
Constants ¶
View Source
const ContractDeploymentAuthorizedAddressesPathDomain = "storage"
View Source
const ContractDeploymentAuthorizedAddressesPathIdentifier = "authorizedAddressesToDeployContracts"
View Source
const SystemChunkTransactionGasLimit = 100_000_000
Variables ¶
This section is empty.
Functions ¶
func CreateFlowTokenMinterTransaction ¶ added in v0.20.0
func CreateFlowTokenMinterTransaction(service, flowToken flow.Address) *flow.TransactionBody
CreateFlowTokenMinterTransaction returns a transaction which creates a Flow token Minter resource and stores it in the service account. This Minter is expected to be stored here by the epoch smart contracts.
func DeployContractTransaction ¶ added in v0.17.6
func DeployContractTransaction(address flow.Address, contract []byte, contractName string) *flow.TransactionBody
TODO (ramtin) get rid of authorizers
func DeployFlowTokenContractTransaction ¶ added in v0.17.6
func DeployFlowTokenContractTransaction(service, fungibleToken, flowToken flow.Address) *flow.TransactionBody
func DeployFungibleTokenContractTransaction ¶ added in v0.17.6
func DeployFungibleTokenContractTransaction(fungibleToken flow.Address) *flow.TransactionBody
func DeployStorageFeesContractTransaction ¶ added in v0.17.6
func DeployStorageFeesContractTransaction(service flow.Address, contract []byte) *flow.TransactionBody
func DeployTxFeesContractTransaction ¶ added in v0.17.6
func DeployTxFeesContractTransaction(service, fungibleToken, flowToken, flowFees flow.Address) *flow.TransactionBody
func GetFlowTokenAvailableBalanceScript ¶ added in v0.17.6
func GetFlowTokenBalanceScript ¶ added in v0.17.6
func GetStorageCapacityScript ¶ added in v0.17.6
func InitAccountTransaction ¶ added in v0.17.6
func MintFlowTokenTransaction ¶ added in v0.17.6
func SetContractDeploymentAuthorizersTransaction ¶
func SetContractDeploymentAuthorizersTransaction(serviceAccount flow.Address, authorized []flow.Address) (*flow.TransactionBody, error)
SetContractDeploymentAuthorizersTransaction returns a transaction for updating list of authroized accounts allowed to deploy/update contracts
func SetStakingAllowlistTransaction ¶ added in v0.21.0
func SetStakingAllowlistTransaction(idTableStakingAddr flow.Address, allowedNodeIDs []flow.Identifier) *flow.TransactionBody
func SetupFeesTransaction ¶ added in v0.17.6
func SetupStorageForServiceAccountsTransaction ¶ added in v0.17.6
func SetupStorageForServiceAccountsTransaction( service, fungibleToken, flowToken, feeContract flow.Address, ) *flow.TransactionBody
func SystemChunkTransaction ¶ added in v0.17.6
func SystemChunkTransaction(chain flow.Chain) (*flow.TransactionBody, error)
SystemChunkTransaction creates and returns the transaction corresponding to the system chunk for the given chain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.