Documentation
¶
Index ¶
- Constants
- func NewSecretPayload(path string, body string) runner.PayloadFile
- type CLIConfig
- type CLITxnOptions
- type Environment
- type NetworkInfo
- type NetworkName
- type StakeAccount
- type StakeAccountCreate
- type StakeAccountKeyPairs
- type Transfer
- type TransferCreate
- type TxnOptions
- type ValidatorInfo
- type VoteAccount
- type VoteAccountCreate
- type VoteAccountDelete
- type VoteAccountKeyPairs
Constants ¶
View Source
const ( MAX_SHORT_FIELD_LENGTH = 80 MAX_LONG_FIELD_LENGTH = 300 MAX_VALIDATOR_INFO = 576 )
Variables ¶
This section is empty.
Functions ¶
func NewSecretPayload ¶ added in v0.13.0
func NewSecretPayload(path string, body string) runner.PayloadFile
Types ¶
type CLIConfig ¶ added in v0.7.1
func (*CLIConfig) Flags ¶ added in v0.20.0
func (f *CLIConfig) Flags() *runner.FlagBuilder
type CLITxnOptions ¶ added in v0.13.0
type CLITxnOptions struct {
TxnOptions
}
func (*CLITxnOptions) AddToPayload ¶ added in v0.13.0
func (c *CLITxnOptions) AddToPayload(p *runner.Payload) error
func (*CLITxnOptions) Flags ¶ added in v0.20.0
func (f *CLITxnOptions) Flags() *runner.FlagBuilder
type Environment ¶ added in v0.7.1
type Environment struct {
RPCURL *string `pulumi:"rpcURL"`
}
type NetworkInfo ¶ added in v0.20.0
type NetworkInfo struct {
RPCURL []string `pulumi:"rpcURL"`
KnownValidator []string `pulumi:"knownValidator"`
EntryPoint []string `pulumi:"entryPoint"`
GenesisHash string `pulumi:"genesisHash"`
}
func LookupNetworkInfo ¶ added in v0.20.0
func LookupNetworkInfo(name NetworkName) (*NetworkInfo, error)
XXX - Expose the API this way, so we can easily move to network lookups later.
type NetworkName ¶ added in v0.20.0
type NetworkName string
const ( NetworkDevnet NetworkName = "devnet" NetworkTestnet NetworkName = "testnet" NetworkMainnetBeta NetworkName = "mainnet-beta" )
func (NetworkName) IsValid ¶ added in v0.20.0
func (name NetworkName) IsValid() bool
func (NetworkName) Values ¶ added in v0.20.0
func (NetworkName) Values() []infer.EnumValue[NetworkName]
type StakeAccount ¶ added in v0.10.0
type StakeAccount struct {
runner.RunnerCommand
TransactionOptions *TxnOptions `pulumi:"transactionOptions"`
StakeAccountKeyPairs StakeAccountKeyPairs `pulumi:"keyPairs"`
Amount float64 `pulumi:"amount"`
}
func (*StakeAccount) Create ¶ added in v0.10.0
func (v *StakeAccount) Create() runner.Command
func (*StakeAccount) Env ¶ added in v0.10.0
func (v *StakeAccount) Env() *runner.EnvBuilder
type StakeAccountCreate ¶ added in v0.10.0
type StakeAccountCreate struct {
StakeAccount
}
func (*StakeAccountCreate) AddToPayload ¶ added in v0.13.0
func (v *StakeAccountCreate) AddToPayload(p *runner.Payload) error
func (*StakeAccountCreate) Check ¶ added in v0.10.0
func (v *StakeAccountCreate) Check() error
func (*StakeAccountCreate) Env ¶ added in v0.10.0
func (v *StakeAccountCreate) Env() *runner.EnvBuilder
type StakeAccountKeyPairs ¶ added in v0.10.0
type Transfer ¶ added in v0.9.1
type Transfer struct {
runner.RunnerCommand
TransactionOptions *TxnOptions `pulumi:"transactionOptions"`
Amount float64 `pulumi:"amount"`
RecipientPubkey string `pulumi:"recipientPubkey"`
AllowUnfundedRecipient *bool `pulumi:"allowUnfundedRecipient,optional"`
}
func (*Transfer) Env ¶ added in v0.9.1
func (v *Transfer) Env() *runner.EnvBuilder
type TransferCreate ¶ added in v0.9.1
type TransferCreate struct {
Transfer
}
func (*TransferCreate) AddToPayload ¶ added in v0.13.0
func (v *TransferCreate) AddToPayload(p *runner.Payload) error
func (*TransferCreate) Check ¶ added in v0.9.1
func (v *TransferCreate) Check() error
func (*TransferCreate) Env ¶ added in v0.9.1
func (v *TransferCreate) Env() *runner.EnvBuilder
type TxnOptions ¶ added in v0.13.0
type TxnOptions struct {
BlockHash *string `pulumi:"blockHash,optional"`
Commitment *string `pulumi:"commitment,optional"`
WithComputeUnitPrice *float64 `pulumi:"withComputeUnitPrice,optional"`
FeePayer *string `pulumi:"feePayer,optional" provider:"secret"`
From *string `pulumi:"from,optional" provider:"secret"`
WithMemo *string `pulumi:"withMemo,optional"`
KeyPair *string `pulumi:"keyPair,optional" provider:"secret"`
Nonce *string `pulumi:"nonce,optional"`
NonceAuthority *string `pulumi:"nonceAuthority,optional"`
Signer *[]string `pulumi:"signer,optional"`
WS *string `pulumi:"ws,optional"`
URL *string `pulumi:"url,optional"`
}
type ValidatorInfo ¶ added in v0.13.0
type ValidatorInfo struct {
Name string `pulumi:"name"`
Website *string `pulumi:"website,optional"`
IconURL *string `pulumi:"iconURL,optional"`
Details *string `pulumi:"details,optional"`
}
func (*ValidatorInfo) Check ¶ added in v0.13.0
func (i *ValidatorInfo) Check() error
type VoteAccount ¶ added in v0.9.1
type VoteAccount struct {
runner.RunnerCommand
VoteAccountKeyPairs VoteAccountKeyPairs `pulumi:"keyPairs"`
AuthVoterPubkey *string `pulumi:"authVoterPubkey,optional"`
CloseRecipientPubkey *string `pulumi:"closeRecipientPubkey,optional"`
}
func (*VoteAccount) Create ¶ added in v0.9.1
func (v *VoteAccount) Create() runner.Command
func (*VoteAccount) Delete ¶ added in v0.9.1
func (v *VoteAccount) Delete() runner.Command
func (*VoteAccount) Env ¶ added in v0.9.1
func (v *VoteAccount) Env() *runner.EnvBuilder
type VoteAccountCreate ¶ added in v0.9.1
type VoteAccountCreate struct {
VoteAccount
}
func (*VoteAccountCreate) AddToPayload ¶ added in v0.13.0
func (v *VoteAccountCreate) AddToPayload(p *runner.Payload) error
func (*VoteAccountCreate) Check ¶ added in v0.9.1
func (v *VoteAccountCreate) Check() error
func (*VoteAccountCreate) Env ¶ added in v0.9.1
func (v *VoteAccountCreate) Env() *runner.EnvBuilder
type VoteAccountDelete ¶ added in v0.9.1
type VoteAccountDelete struct {
VoteAccount
}
func (*VoteAccountDelete) AddToPayload ¶ added in v0.13.0
func (v *VoteAccountDelete) AddToPayload(p *runner.Payload) error
func (*VoteAccountDelete) Check ¶ added in v0.9.1
func (v *VoteAccountDelete) Check() error
func (*VoteAccountDelete) Env ¶ added in v0.9.1
func (v *VoteAccountDelete) Env() *runner.EnvBuilder
type VoteAccountKeyPairs ¶ added in v0.9.1
Source Files
¶
Click to show internal directories.
Click to hide internal directories.