@evolutionland/evolution-js
Version:
evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse
26 lines (25 loc) • 1.04 kB
TypeScript
import { ethers } from "ethers";
import type { CallbackType } from "../../../utils/ethers/contractHelper";
import { LandId } from "../../../config/constants";
import { TransactionResponse } from "@ethersproject/providers";
/**
* Equipment transfer
* @param landId Land Id
* @param signer Signer
* @param from Equipment owner
* @param to Recipient
* @param tokenId Equipment TokenId
* @param callback Callback
* @returns any
*/
export declare const equipmentTransfer: (landId: LandId, signer: ethers.Signer, from: string, to: string, tokenId: string, callback?: CallbackType | undefined) => Promise<TransactionResponse>;
/**
* Divest the props on the index slot on the tokenid apostle
* @param landId Land Id
* @param signer Signer
* @param tokenId Apostle token Id
* @param index The index of slot
* @param callback Callback
* @returns any
*/
export declare const equipmentUnequip: (landId: LandId, signer: ethers.Signer, tokenId: string, index: number, callback?: CallbackType | undefined) => Promise<TransactionResponse>;