Properties
addCheckpointKV
addCheckpointKV: (key: string, value: string) => void
Type declaration
-
- (key: string, value: string): void
-
Parameters
-
key: string
-
value: string
Returns void
algodClient
algodClient: Algodv2
deployASA
Type declaration
-
-
Parameters
Returns Promise<ASAInfo>
deploySSC
Type declaration
-
-
Parameters
-
approvalProgram: string
-
clearProgram: string
-
-
-
Optional scTmplParams: StrMap
Returns Promise<SSCInfo>
ensureCompiled
ensure
Compiled: (name: string, force?: undefined | false | true, scTmplParams?: StrMap) => Promise<ASCCache>
Type declaration
-
- (name: string, force?: undefined | false | true, scTmplParams?: StrMap): Promise<ASCCache>
-
Parameters
-
name: string
-
Optional force: undefined | false | true
-
Optional scTmplParams: StrMap
Returns Promise<ASCCache>
fundLsig
Type declaration
-
-
Parameters
-
name: string
-
-
-
scParams: LogicSigArgs
-
Optional scTmplParams: StrMap
Returns void
getCheckpointKV
getCheckpointKV: (key: string) => string | undefined
Type declaration
-
- (key: string): string | undefined
-
Parameters
Returns string | undefined
getDelegatedLsig
getDelegatedLsig: (lsigName: string) => Object | undefined
Type declaration
-
- (lsigName: string): Object | undefined
-
Parameters
Returns Object | undefined
getSSC
getSSC
: (nameApproval
: string, nameClear
: string) => SSCInfo | undefined
Type declaration
-
- (nameApproval: string, nameClear: string): SSCInfo | undefined
-
Parameters
-
nameApproval: string
-
nameClear: string
Returns SSCInfo | undefined
isDefined
isDefined: (name: string) => boolean
Type declaration
-
-
Parameters
Returns boolean
isDeployMode
isDeployMode: boolean
loadLogic
load
Logic: (name: string, scParams: LogicSigArgs, scTmplParams?: StrMap) => Promise<LogicSig>
Type declaration
-
- (name: string, scParams: LogicSigArgs, scTmplParams?: StrMap): Promise<LogicSig>
-
Parameters
-
name: string
-
scParams: LogicSigArgs
-
Optional scTmplParams: StrMap
Returns Promise<LogicSig>
loadMultiSig
loadMultiSig: (name: string, scParams: LogicSigArgs) => Promise<LogicSig>
Type declaration
-
- (name: string, scParams: LogicSigArgs): Promise<LogicSig>
-
Parameters
-
name: string
-
scParams: LogicSigArgs
Returns Promise<LogicSig>
log
log: (msg: string, obj: any) => void
Type declaration
-
- (msg: string, obj: any): void
mkDelegatedLsig
mk
DelegatedLsig: (name: string, signer: Account, scParams: LogicSigArgs, scTmplParams?: StrMap) => Promise<LsigInfo>
Type declaration
-
-
Parameters
-
name: string
-
-
scParams: LogicSigArgs
-
Optional scTmplParams: StrMap
Returns Promise<LsigInfo>
optInToASA
opt
InToASA: (name: string, accountName: string, flags: ASADeploymentFlags) => Promise<void>
Type declaration
-
-
Parameters
-
name: string
-
accountName: string
-
Returns Promise<void>
optInToSSC
opt
InToSSC: (sender: Account, index: number, payFlags: TxParams) => Promise<void>
Type declaration
-
-
Parameters
Returns Promise<void>
waitForConfirmation
waitForConfirmation: (txId: string) => Promise<ConfirmedTxInfo>
Type declaration
-
- (txId: string): Promise<ConfirmedTxInfo>
-
Parameters
Returns Promise<ConfirmedTxInfo>
Sets metadata key value for a current network in the chckpoint file based on the current deployment script. If run in a non deployment mode (eg
algob run script_name.js
) it will throw an exception.