- overrideASADef(accounts: AccountMap, origDef: {
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}, newDef?: Partial<{
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}>): types.ASADef
-
Parameters
-
-
origDef: {
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}
-
Optional
clawback?: string
-
decimals: number | bigint
-
Optional
defaultFrozen?: boolean
-
Optional
freeze?: string
-
Optional
manager?: string
-
Optional
metadataHash?: string | Uint8Array | Buffer
-
Optional
name?: string
-
Optional
note?: string
-
Optional
noteb64?: string
-
Optional
optInAccNames?: string[]
-
Optional
reserve?: string
-
total: string | number | bigint
-
Optional
unitName?: string
-
Optional
url?: string
-
Optional
newDef: Partial<{
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}>
Returns types.ASADef
Override & validate ASA definition in asa.yaml using custom params passed via deployASA
Returns
overriden asset definition. If custom params are empty, return source asa def