blueprints

package
v0.22.8-patch-3-fix-co... Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: AGPL-3.0 Imports: 9 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 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 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 authorized 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 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(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.

Jump to

Keyboard shortcuts

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