Class: InvariantsAddObject<T>
InvariantsAddObject is used for adding invariants without specifying addresses. Addresses are generated by the keeper and stored in the collection.
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:486
InvariantsAddObject is used for adding invariants without specifying addresses. Addresses are generated by the keeper and stored in the collection.
Extends
BaseNumberTypeClass<InvariantsAddObject<T>>
Type Parameters
T
T extends NumberType
Implements
Constructors
Constructor
new InvariantsAddObject<
T>(data):InvariantsAddObject<T>
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:494
Parameters
data
Returns
InvariantsAddObject<T>
Overrides
BaseNumberTypeClass.constructor
Properties
cosmosCoinBackedPath?
optionalcosmosCoinBackedPath?:CosmosCoinBackedPathAddObject<T>
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:489
The IBC backed (sdk.coin) path for the collection. Only one path is allowed. Address will be generated by the keeper.
Implementation of
iInvariantsAddObject.cosmosCoinBackedPath
disablePoolCreation
disablePoolCreation:
boolean
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:491
If true, disallows pool creation with this collection's assets. When true, any attempt to create a pool with assets from this collection will fail.
Implementation of
iInvariantsAddObject.disablePoolCreation
evmQueryChallenges?
optionalevmQueryChallenges?:iEVMQueryChallenge<T>[]
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:492
EVM query invariants that must pass after all transfers complete. Read-only contract queries that verify external EVM state.
Implementation of
iInvariantsAddObject.evmQueryChallenges
maxSupplyPerId
maxSupplyPerId:
T
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:488
Maximum supply per token ID. If set, no balance can exceed this amount. This prevents any single token ID from having more than the specified supply.
Implementation of
iInvariantsAddObject.maxSupplyPerId
noCustomOwnershipTimes
noCustomOwnershipTimes:
boolean
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:487
If true, all ownership times must be full ranges [{ start: 1, end: GoMaxUInt64 }]. This prevents time-based restrictions on token ownership.
Implementation of
iInvariantsAddObject.noCustomOwnershipTimes
noForcefulPostMintTransfers
noForcefulPostMintTransfers:
boolean
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:490
If true, disallows any collection approvals that have overridesFromOutgoingApprovals or overridesToIncomingApprovals set to true. This prevents forceful post-mint transfers that bypass user-level approvals.
Implementation of
iInvariantsAddObject.noForcefulPostMintTransfers
Methods
clone()
clone():
InvariantsAddObject
Defined in: packages/bitbadgesjs-sdk/src/common/base.ts:151
Deep copies the object and returns a new instance.
Returns
InvariantsAddObject
Inherited from
convert()
convert<
U>(convertFunction,options?):InvariantsAddObject<U>
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:508
Converts the object to a different NumberType equivalent.
Type Parameters
U
U extends NumberType
Parameters
convertFunction
(item) => U
options?
Returns
InvariantsAddObject<U>
Overrides
equals()
equals<
U>(other,normalizeNumberTypes?):boolean
Defined in: packages/bitbadgesjs-sdk/src/common/base.ts:147
Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
Type Parameters
U
U extends CustomType<U>
Parameters
other
CustomType<U> | null | undefined
normalizeNumberTypes?
boolean
Returns
boolean
Inherited from
getNumberFieldNames()
getNumberFieldNames():
string[]
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:504
Internal helper method to convert the number fields of the object to a different NumberType equivalent.
Returns
string[]
Overrides
BaseNumberTypeClass.getNumberFieldNames
hasNumberFields()
hasNumberFields():
boolean
Defined in: packages/bitbadgesjs-sdk/src/common/base.ts:161
Checks if the object has number fields.
Returns
boolean
Inherited from
BaseNumberTypeClass.hasNumberFields
toJson()
toJson():
JsonObject
Defined in: packages/bitbadgesjs-sdk/src/common/base.ts:139
Converts the object to a JSON object with all primitive types.
Returns
JsonObject
Inherited from
toJsonString()
toJsonString():
string
Defined in: packages/bitbadgesjs-sdk/src/common/base.ts:143
Converts the object to a JSON string.
Returns
string
Inherited from
BaseNumberTypeClass.toJsonString
toProto()
toProto():
InvariantsAddObject
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:533
Returns
InvariantsAddObject
fromProto()
staticfromProto<T>(data,convertFunction):InvariantsAddObject<T>
Defined in: packages/bitbadgesjs-sdk/src/core/ibc-wrappers.ts:512
Type Parameters
T
T extends NumberType
Parameters
data
InvariantsAddObject
convertFunction
(val) => T
Returns
InvariantsAddObject<T>