NFTCollectionEditableContract<E extends WalletContractTransferParams<OutAction>> class

Inheritance

Constructors

NFTCollectionEditableContract.new({required WalletContract<dynamic, E> owner, required TonAddress address, NftEditableCollectionState? state})
const
NFTCollectionEditableContract.create({required WalletContract<dynamic, E> owner, required NftEditableCollectionState state})
factory

Properties

address TonAddress
The address of this contract on the TON blockchain.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
owner WalletContract<dynamic, E>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state NftCollectionState?
The state associated with this contract.
finalinherited

Methods

deploy({required E params, required TonProvider rpc, required BigInt amount, int sendMode = SendModeConst.payGasSeparately, int? timeout, bool? bounce, bool bounced = false, Cell? body}) Future<String>
inherited
getCollectionData(TonProvider rpc) Future<NFTCollectionData>
inherited
getNftAddressByIndex({required BigInt index, required TonProvider rpc}) Future<TonAddress>
inherited
getNftContent({required TonProvider rpc, required NFTItemData nftData}) Future<String>
inherited
getNFTItemContractByIndex<T extends WalletContractTransferParams<OutAction>>({required BigInt index, required TonProvider rpc, required WalletContract<ContractState, T> owner}) Future<NFTItemContract<T>>
inherited
getState({required TonProvider rpc}) Future<AccountStateResponse>
get account state (balance, code, data , etc.)
inherited
getStateStack({required TonProvider rpc, required String method, TonAddress? address, List stack = const [], bool throwOnFail = true}) Future<RunMethodResponse>
call contract methods
inherited
isActive(TonProvider rpc) Future<bool>
check if contract is initialized.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
royaltyParams(TonProvider rpc) Future<RoyaltyParams>
inherited
sendMessage({required TonProvider rpc, required Message exMessage}) Future<String>
inherited
sendOperation({required E params, required TonProvider rpc, required BigInt amount, required NFTCollectionOperation operation, int sendMode = SendModeConst.payGasSeparately, int? timeout, bool? bounce, bool bounced = false, Cell? body}) Future<String>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromAddress<E extends WalletContractTransferParams<OutAction>>({required WalletContract<dynamic, E> owner, required TonAddress address, required TonProvider rpc}) Future<NFTCollectionEditableContract<WalletContractTransferParams<OutAction>>>
override