@gala-chain/api ∙ API
API > BatchSubmitAuthorities
Class: BatchSubmitAuthorities
Contents
- Extends
- Constructors
- new BatchSubmitAuthorities(authorities)
- Properties
- authorities
- COMPOSITEKEY_NS
- ID_SPLIT_CHAR
- ID_SUB_SPLIT_CHAR
- INDEX_KEY
- MIN_UNICODE_RUNE_VALUE
- Methods
- addAuthority()
- addOrUpdateAuthorities()
- getAuthorities()
- getCompositeKey()
- isAuthorized()
- removeAuthority()
- serialize()
- toPlainObject()
- validate()
- validateOrReject()
- decodeFromBase58()
- deserialize()
- encodeToBase58()
- getCompositeKeyFromParts()
- getEncodableStringKeyFromParts()
- getPartsFromEncodableStringKey()
- getStringKeyFromParts()
Extends
Constructors
new BatchSubmitAuthorities(authorities)
new BatchSubmitAuthorities(
authorities):BatchSubmitAuthorities
Parameters
▪ authorities: string[]
Overrides
Source
chain-api/src/types/BatchSubmitAuthorities.ts:28
Properties
authorities
authorities:
string[]
Source
chain-api/src/types/BatchSubmitAuthorities.ts:26
COMPOSITEKEY_NS
staticCOMPOSITEKEY_NS:string="\x00"
Inherited from
Source
chain-api/src/types/ChainObject.ts:46
ID_SPLIT_CHAR
staticID_SPLIT_CHAR:string="$"
Inherited from
Source
chain-api/src/types/ChainObject.ts:49
ID_SUB_SPLIT_CHAR
staticID_SUB_SPLIT_CHAR:string="|"
Inherited from
Source
chain-api/src/types/ChainObject.ts:51
INDEX_KEY
staticINDEX_KEY:string="GCBSA"
Source
chain-api/src/types/BatchSubmitAuthorities.ts:22
MIN_UNICODE_RUNE_VALUE
staticMIN_UNICODE_RUNE_VALUE:string="\u0000"
Inherited from
ChainObject.MIN_UNICODE_RUNE_VALUE
Source
chain-api/src/types/ChainObject.ts:44
Methods
addAuthority()
addAuthority(
authority):void
Parameters
▪ authority: string
Source
chain-api/src/types/BatchSubmitAuthorities.ts:37
addOrUpdateAuthorities()
addOrUpdateAuthorities(
newAuthorities):void
Parameters
▪ newAuthorities: string[]
Source
chain-api/src/types/BatchSubmitAuthorities.ts:33
getAuthorities()
getAuthorities():
string[]
Source
chain-api/src/types/BatchSubmitAuthorities.ts:51
getCompositeKey()
getCompositeKey():
string
Inherited from
Source
chain-api/src/types/ChainObject.ts:80
isAuthorized()
isAuthorized(
authority):boolean
Parameters
▪ authority: string
Source
chain-api/src/types/BatchSubmitAuthorities.ts:47
removeAuthority()
removeAuthority(
authority):void
Parameters
▪ authority: string
Source
chain-api/src/types/BatchSubmitAuthorities.ts:43
serialize()
serialize():
string
Inherited from
Source
chain-api/src/types/ChainObject.ts:53
toPlainObject()
toPlainObject():
Record\<string,unknown>
Inherited from
Source
chain-api/src/types/ChainObject.ts:69
validate()
validate():
Promise\<ValidationError[]>
Inherited from
Source
chain-api/src/types/ChainObject.ts:57
validateOrReject()
validateOrReject():
Promise\<void>
Inherited from
Source
chain-api/src/types/ChainObject.ts:61
decodeFromBase58()
staticdecodeFromBase58(base58String):string
Parameters
▪ base58String: string
Inherited from
Source
chain-api/src/types/ChainObject.ts:142
deserialize()
staticdeserialize\<T>(constructor,object):T
Type parameters
▪ T
Parameters
▪ constructor: ClassConstructor\<Inferred\<T, ChainObject>>
▪ object: string | Record\<string, unknown> | Record\<string, unknown>[]
Inherited from
Source
chain-api/src/types/ChainObject.ts:73
encodeToBase58()
staticencodeToBase58(stringKey):string
Parameters
▪ stringKey: string
Inherited from
Source
chain-api/src/types/ChainObject.ts:137
getCompositeKeyFromParts()
staticgetCompositeKeyFromParts(indexKey,parts):string
Parameters
▪ indexKey: string
▪ parts: unknown[]
Inherited from
ChainObject.getCompositeKeyFromParts
Source
chain-api/src/types/ChainObject.ts:105
getEncodableStringKeyFromParts()
staticgetEncodableStringKeyFromParts(parts):string
Parameters
▪ parts: string[]
Inherited from
ChainObject.getEncodableStringKeyFromParts
Source
chain-api/src/types/ChainObject.ts:129
getPartsFromEncodableStringKey()
staticgetPartsFromEncodableStringKey(stringKey):string[]
Parameters
▪ stringKey: string
Inherited from
ChainObject.getPartsFromEncodableStringKey
Source
chain-api/src/types/ChainObject.ts:133
getStringKeyFromParts()
staticgetStringKeyFromParts(parts):string
Parameters
▪ parts: string[]
Inherited from
ChainObject.getStringKeyFromParts