blueprints

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: AGPL-3.0 Imports: 7 Imported by: 5

Documentation

Index

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 GetFlowTokenAvailableBalanceScript(accountAddress, serviceAddress flow.Address) []byte

func GetFlowTokenBalanceScript added in v0.17.6

func GetFlowTokenBalanceScript(accountAddress, serviceAddress flow.Address) []byte

func GetStorageCapacityScript added in v0.17.6

func GetStorageCapacityScript(accountAddress, serviceAddress flow.Address) []byte

func InitAccountTransaction added in v0.17.6

func InitAccountTransaction(
	payerAddress flow.Address,
	accountAddress flow.Address,
	serviceAddress flow.Address,
	restrictedAccountCreationEnabled bool,
) *flow.TransactionBody

func MintFlowTokenTransaction added in v0.17.6

func MintFlowTokenTransaction(
	fungibleToken, flowToken, service flow.Address,
	initialSupply cadence.UFix64,
) *flow.TransactionBody

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 SetupFeesTransaction(
	service flow.Address,
	transactionFee,
	addressCreationFee,
	minimumStorageReservation,
	storagePerFlow cadence.UFix64,
	restrictedAccountCreationEnabled cadence.Bool,
) *flow.TransactionBody

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.

Jump to

Keyboard shortcuts

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