Documentation ¶
Index ¶
- Constants
- 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 SetupFeesTransaction(service flow.Address, ...) *flow.TransactionBody
- func SetupStorageForServiceAccountsTransaction(service, fungibleToken, flowToken, feeContract flow.Address) *flow.TransactionBody
- func SystemChunkTransaction(serviceAddress flow.Address) *flow.TransactionBody
Constants ¶
View Source
const ContractDeploymentAuthorizedAddressesPathDomain = "storage"
View Source
const ContractDeploymentAuthorizedAddressesPathIdentifier = "authorizedAddressesToDeployContracts"
Variables ¶
This section is empty.
Functions ¶
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 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(serviceAddress flow.Address) *flow.TransactionBody
SystemChunkTransaction creates and returns the transaction corresponding to the system chunk at the specified service address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.