UNPKG

@evolutionland/evolution-js

Version:

evolution evolution-js evolutionland evolution-js-sdk evolution-land metaverse

4,343 lines (708 loc) 64.9 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Global - Documentation</title> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc.css"> <script src="scripts/nav.js" defer></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <input type="checkbox" id="nav-trigger" class="nav-trigger" /> <label for="nav-trigger" class="navicon-button x"> <div class="navicon"></div> </label> <label for="nav-trigger" class="overlay"></label> <nav > <h2><a href="index.html">Home</a></h2><h3>Global</h3><ul><li><a href="global.html#apostleAllowanceToClockAuction">apostleAllowanceToClockAuction</a></li><li><a href="global.html#apostleAskWithToken">apostleAskWithToken</a></li><li><a href="global.html#apostleBidWithToken">apostleBidWithToken</a></li><li><a href="global.html#apostleBorn">apostleBorn</a></li><li><a href="global.html#apostleBornAndEnhance">apostleBornAndEnhance</a></li><li><a href="global.html#apostleBreed">apostleBreed</a></li><li><a href="global.html#apostleBreedAsk">apostleBreedAsk</a></li><li><a href="global.html#apostleBreedBid">apostleBreedBid</a></li><li><a href="global.html#apostleCancelAskWithToken">apostleCancelAskWithToken</a></li><li><a href="global.html#apostleCancelBreedAsk">apostleCancelBreedAsk</a></li><li><a href="global.html#apostleCancelHire">apostleCancelHire</a></li><li><a href="global.html#apostleClaim">apostleClaim</a></li><li><a href="global.html#apostleClaimHire">apostleClaimHire</a></li><li><a href="global.html#apostleGetAutoBreedFee">apostleGetAutoBreedFee</a></li><li><a href="global.html#apostleGetCurrentPriceByTokenId">apostleGetCurrentPriceByTokenId</a></li><li><a href="global.html#apostleGetCurrentSiringPriceByTokenId">apostleGetCurrentSiringPriceByTokenId</a></li><li><a href="global.html#apostleHire">apostleHire</a></li><li><a href="global.html#apostleHireBid">apostleHireBid</a></li><li><a href="global.html#apostleStopWork">apostleStopWork</a></li><li><a href="global.html#apostleTransfer">apostleTransfer</a></li><li><a href="global.html#apostleWork">apostleWork</a></li><li><a href="global.html#drillStopWork">drillStopWork</a></li><li><a href="global.html#drillTransfer">drillTransfer</a></li><li><a href="global.html#drillWork">drillWork</a></li><li><a href="global.html#equipmentTransfer">equipmentTransfer</a></li><li><a href="global.html#equipmentUnequip">equipmentUnequip</a></li><li><a href="global.html#erc20Allowance">erc20Allowance</a></li><li><a href="global.html#erc20AllowanceByContractAddress">erc20AllowanceByContractAddress</a></li><li><a href="global.html#erc20Approve">erc20Approve</a></li><li><a href="global.html#erc20ApproveByContractAddress">erc20ApproveByContractAddress</a></li><li><a href="global.html#erc20BalanceOf">erc20BalanceOf</a></li><li><a href="global.html#erc20TotalSupply">erc20TotalSupply</a></li><li><a href="global.html#erc20TransferByContractAddress">erc20TransferByContractAddress</a></li><li><a href="global.html#erc721IsApprovedForAll">erc721IsApprovedForAll</a></li><li><a href="global.html#erc721IsApprovedOrOwner">erc721IsApprovedOrOwner</a></li><li><a href="global.html#erc721OwnerOf">erc721OwnerOf</a></li><li><a href="global.html#erc721SetApprovalForAll">erc721SetApprovalForAll</a></li><li><a href="global.html#erc1155BalanceOf">erc1155BalanceOf</a></li><li><a href="global.html#erc1155BalanceOfBatch">erc1155BalanceOfBatch</a></li><li><a href="global.html#erc1155IsApprovedForAll">erc1155IsApprovedForAll</a></li><li><a href="global.html#erc1155SafeBatchTransferFrom">erc1155SafeBatchTransferFrom</a></li><li><a href="global.html#erc1155SetApprovalForAll">erc1155SetApprovalForAll</a></li><li><a href="global.html#farmGetStakerAddress">farmGetStakerAddress</a></li><li><a href="global.html#farmGetStakerBalanceOf">farmGetStakerBalanceOf</a></li><li><a href="global.html#farmGetStakerEarned">farmGetStakerEarned</a></li><li><a href="global.html#farmGetStakerExit">farmGetStakerExit</a></li><li><a href="global.html#farmGetStakerGetReward">farmGetStakerGetReward</a></li><li><a href="global.html#farmGetStakerStakeToken">farmGetStakerStakeToken</a></li><li><a href="global.html#farmGetStakerTotalSupply">farmGetStakerTotalSupply</a></li><li><a href="global.html#farmStakerWithdraw">farmStakerWithdraw</a></li><li><a href="global.html#furnaceBuyTreasure">furnaceBuyTreasure</a></li><li><a href="global.html#furnaceDisenchantProps">furnaceDisenchantProps</a></li><li><a href="global.html#furnaceDismantleEquipment">furnaceDismantleEquipment</a></li><li><a href="global.html#furnaceEnchantEquipment">furnaceEnchantEquipment</a></li><li><a href="global.html#furnaceEnchantProps">furnaceEnchantProps</a></li><li><a href="global.html#furnaceGetTreasurePrice">furnaceGetTreasurePrice</a></li><li><a href="global.html#furnaceGetTreasureStatus">furnaceGetTreasureStatus</a></li><li><a href="global.html#furnaceOpenTreasure">furnaceOpenTreasure</a></li><li><a href="global.html#goldRushRaffleChangeAmount">goldRushRaffleChangeAmount</a></li><li><a href="global.html#goldRushRaffleChangeInfo">goldRushRaffleChangeInfo</a></li><li><a href="global.html#goldRushRaffleChangeSubAddr">goldRushRaffleChangeSubAddr</a></li><li><a href="global.html#goldRushRaffleDraw">goldRushRaffleDraw</a></li><li><a href="global.html#goldRushRaffleExit">goldRushRaffleExit</a></li><li><a href="global.html#goldRushRaffleGetHistory">goldRushRaffleGetHistory</a></li><li><a href="global.html#goldRushRaffleJoin">goldRushRaffleJoin</a></li><li><a href="global.html#landAskWithToken">landAskWithToken</a></li><li><a href="global.html#landBatchClaimItemResource">landBatchClaimItemResource</a></li><li><a href="global.html#landBatchClaimLandResource">landBatchClaimLandResource</a></li><li><a href="global.html#landBidWithToken">landBidWithToken</a></li><li><a href="global.html#landCancelAskWithToken">landCancelAskWithToken</a></li><li><a href="global.html#landClaimItemResource">landClaimItemResource</a></li><li><a href="global.html#landClaimLand">landClaimLand</a></li><li><a href="global.html#landGetAvailableItemResources">landGetAvailableItemResources</a></li><li><a href="global.html#landGetAvailableResources">landGetAvailableResources</a></li><li><a href="global.html#landGetCurrentPriceByTokenId">landGetCurrentPriceByTokenId</a></li><li><a href="global.html#landTransfer">landTransfer</a></li><li><a href="global.html#lotteryGetPointsBalance">lotteryGetPointsBalance</a></li><li><a href="global.html#lotteryGetTotalRewardInPool">lotteryGetTotalRewardInPool</a></li><li><a href="global.html#lotteryPlayWithTicket">lotteryPlayWithTicket</a></li><li><a href="global.html#materialBalanceOfBatch">materialBalanceOfBatch</a></li><li><a href="global.html#materialBatchTransfer">materialBatchTransfer</a></li><li><a href="global.html#materialIdEncode">materialIdEncode</a></li><li><a href="global.html#pveTeamAt">pveTeamAt</a></li><li><a href="global.html#pveTeamEvict">pveTeamEvict</a></li><li><a href="global.html#pveTeamExist">pveTeamExist</a></li><li><a href="global.html#pveTeamExit">pveTeamExit</a></li><li><a href="global.html#pveTeamExits">pveTeamExits</a></li><li><a href="global.html#pveTeamJoin">pveTeamJoin</a></li><li><a href="global.html#pveTeamJoins">pveTeamJoins</a></li><li><a href="global.html#pveTeamSwap">pveTeamSwap</a></li><li><a href="global.html#uniswapBuyRING">uniswapBuyRING</a></li></ul> </nav> <div id="main"> <h1 class="page-title">Global</h1> <section> <header> <h2> </h2> </header> <article> <div class="container-overview"> <dl class="details"> </dl> </div> <h3 class="subsection-title">Members</h3> <h4 class="name" id="apostleAllowanceToClockAuction"><span class="type-signature">(constant) </span>apostleAllowanceToClockAuction<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line16">line 16</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Allowance To Clock Auction</p> </div> <h4 class="name" id="apostleAskWithToken"><span class="type-signature">(constant) </span>apostleAskWithToken<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line177">line 177</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Sell Apostle asset</p> </div> <h4 class="name" id="apostleBidWithToken"><span class="type-signature">(constant) </span>apostleBidWithToken<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line34">line 34</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Bid</p> </div> <h4 class="name" id="apostleBorn"><span class="type-signature">(constant) </span>apostleBorn<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line115">line 115</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Born Without Element</p> </div> <h4 class="name" id="apostleBornAndEnhance"><span class="type-signature">(constant) </span>apostleBornAndEnhance<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line128">line 128</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Born And Enhance</p> </div> <h4 class="name" id="apostleBreed"><span class="type-signature">(constant) </span>apostleBreed<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line56">line 56</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Breed - Apostle reproduction in own</p> </div> <h4 class="name" id="apostleBreedAsk"><span class="type-signature">(constant) </span>apostleBreedAsk<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line285">line 285</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Breed Auction</p> </div> <h4 class="name" id="apostleBreedBid"><span class="type-signature">(constant) </span>apostleBreedBid<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line78">line 78</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Breed Bid - Apostle reproduction</p> </div> <h4 class="name" id="apostleCancelAskWithToken"><span class="type-signature">(constant) </span>apostleCancelAskWithToken<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line194">line 194</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Cancel the auction by apostle token ID</p> </div> <h4 class="name" id="apostleCancelBreedAsk"><span class="type-signature">(constant) </span>apostleCancelBreedAsk<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line302">line 302</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Cancel Apostle Breed Auction</p> </div> <h4 class="name" id="apostleCancelHire"><span class="type-signature">(constant) </span>apostleCancelHire<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line223">line 223</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Cancel an apostle on Renting</p> </div> <h4 class="name" id="apostleClaim"><span class="type-signature">(constant) </span>apostleClaim<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line270">line 270</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Receive apostle</p> </div> <h4 class="name" id="apostleClaimHire"><span class="type-signature">(constant) </span>apostleClaimHire<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line326">line 326</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Claim an apostle that expires at work</p> </div> <h4 class="name" id="apostleGetAutoBreedFee"><span class="type-signature">(constant) </span>apostleGetAutoBreedFee<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line257">line 257</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get apostle breed fee</p> </div> <h4 class="name" id="apostleGetCurrentPriceByTokenId"><span class="type-signature">(constant) </span>apostleGetCurrentPriceByTokenId<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line151">line 151</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Returns the current price of an auction.</p> </div> <h4 class="name" id="apostleGetCurrentSiringPriceByTokenId"><span class="type-signature">(constant) </span>apostleGetCurrentSiringPriceByTokenId<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line162">line 162</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Returns the current siring price of an auction.</p> </div> <h4 class="name" id="apostleHire"><span class="type-signature">(constant) </span>apostleHire<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line207">line 207</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Renting apostles to work</p> </div> <h4 class="name" id="apostleHireBid"><span class="type-signature">(constant) </span>apostleHireBid<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line99">line 99</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Apostle Hire Bid - Bid apostle on Renting</p> </div> <h4 class="name" id="apostleStopWork"><span class="type-signature">(constant) </span>apostleStopWork<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line247">line 247</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Stop apostle mining</p> </div> <h4 class="name" id="apostleTransfer"><span class="type-signature">(constant) </span>apostleTransfer<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line315">line 315</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Transfer Apsotle</p> </div> <h4 class="name" id="apostleWork"><span class="type-signature">(constant) </span>apostleWork<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="apostle_v1.ts.html">apostle/v1.ts</a>, <a href="apostle_v1.ts.html#line236">line 236</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Let apostle go to work</p> </div> <h4 class="name" id="drillStopWork"><span class="type-signature">(constant) </span>drillStopWork<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="drill_v1.ts.html">drill/v1.ts</a>, <a href="drill_v1.ts.html#line26">line 26</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Divest the props on the index slot on the tokenid land</p> </div> <h4 class="name" id="drillTransfer"><span class="type-signature">(constant) </span>drillTransfer<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="drill_v1.ts.html">drill/v1.ts</a>, <a href="drill_v1.ts.html#line14">line 14</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Transfer Drill</p> </div> <h4 class="name" id="drillWork"><span class="type-signature">(constant) </span>drillWork<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="drill_v1.ts.html">drill/v1.ts</a>, <a href="drill_v1.ts.html#line41">line 41</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Equip function, A NFT can equip to EVO Bar (LandBar or ApostleBar).</p> </div> <h4 class="name" id="equipmentTransfer"><span class="type-signature">(constant) </span>equipmentTransfer<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="equipment_v1.ts.html">equipment/v1.ts</a>, <a href="equipment_v1.ts.html#line14">line 14</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Equipment transfer</p> </div> <h4 class="name" id="equipmentUnequip"><span class="type-signature">(constant) </span>equipmentUnequip<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="equipment_v1.ts.html">equipment/v1.ts</a>, <a href="equipment_v1.ts.html#line26">line 26</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Divest the props on the index slot on the tokenid apostle</p> </div> <h4 class="name" id="erc20Allowance"><span class="type-signature">(constant) </span>erc20Allowance<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line14">line 14</a> </li></ul></dd> </dl> <div class="description usertext"> <p>ERC20 Allowance</p> </div> <h4 class="name" id="erc20AllowanceByContractAddress"><span class="type-signature">(constant) </span>erc20AllowanceByContractAddress<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line27">line 27</a> </li></ul></dd> </dl> <div class="description usertext"> <p>ERC20 Allowance By Contract Address</p> </div> <h4 class="name" id="erc20Approve"><span class="type-signature">(constant) </span>erc20Approve<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line46">line 46</a> </li></ul></dd> </dl> <div class="description usertext"> <p>ERC20 Approve</p> </div> <h4 class="name" id="erc20ApproveByContractAddress"><span class="type-signature">(constant) </span>erc20ApproveByContractAddress<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line57">line 57</a> </li></ul></dd> </dl> <div class="description usertext"> <p>ERC20 Approve By Contract Address</p> </div> <h4 class="name" id="erc20BalanceOf"><span class="type-signature">(constant) </span>erc20BalanceOf<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line90">line 90</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get token balance by address</p> </div> <h4 class="name" id="erc20TotalSupply"><span class="type-signature">(constant) </span>erc20TotalSupply<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line102">line 102</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get token total supply</p> </div> <h4 class="name" id="erc20TransferByContractAddress"><span class="type-signature">(constant) </span>erc20TransferByContractAddress<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc20_v1.ts.html">erc20/v1.ts</a>, <a href="erc20_v1.ts.html#line74">line 74</a> </li></ul></dd> </dl> <div class="description usertext"> <p>ERC20 Transfer</p> </div> <h4 class="name" id="erc721IsApprovedForAll"><span class="type-signature">(constant) </span>erc721IsApprovedForAll<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc721_index.ts.html">erc721/index.ts</a>, <a href="erc721_index.ts.html#line27">line 27</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Query if an address is an authorized operator for another address</p> </div> <h4 class="name" id="erc721IsApprovedOrOwner"><span class="type-signature">(constant) </span>erc721IsApprovedOrOwner<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc721_index.ts.html">erc721/index.ts</a>, <a href="erc721_index.ts.html#line41">line 41</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Returns whether <code>spender</code> is allowed to manage <code>tokenId</code>.</p> </div> <h4 class="name" id="erc721OwnerOf"><span class="type-signature">(constant) </span>erc721OwnerOf<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc721_index.ts.html">erc721/index.ts</a>, <a href="erc721_index.ts.html#line13">line 13</a> </li></ul></dd> </dl> <div class="description usertext"> <p>ERC721 Owner of</p> </div> <h4 class="name" id="erc721SetApprovalForAll"><span class="type-signature">(constant) </span>erc721SetApprovalForAll<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc721_index.ts.html">erc721/index.ts</a>, <a href="erc721_index.ts.html#line62">line 62</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Change or reaffirm the approved address for all of NFT</p> </div> <h4 class="name" id="erc1155BalanceOf"><span class="type-signature">(constant) </span>erc1155BalanceOf<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc1155_index.ts.html">erc1155/index.ts</a>, <a href="erc1155_index.ts.html#line28">line 28</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get the balance of an account's tokens.</p> </div> <h4 class="name" id="erc1155BalanceOfBatch"><span class="type-signature">(constant) </span>erc1155BalanceOfBatch<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc1155_index.ts.html">erc1155/index.ts</a>, <a href="erc1155_index.ts.html#line42">line 42</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get the balance of multiple account/token pairs</p> </div> <h4 class="name" id="erc1155IsApprovedForAll"><span class="type-signature">(constant) </span>erc1155IsApprovedForAll<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc1155_index.ts.html">erc1155/index.ts</a>, <a href="erc1155_index.ts.html#line14">line 14</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Query if an address is an authorized operator for another address</p> </div> <h4 class="name" id="erc1155SafeBatchTransferFrom"><span class="type-signature">(constant) </span>erc1155SafeBatchTransferFrom<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc1155_index.ts.html">erc1155/index.ts</a>, <a href="erc1155_index.ts.html#line73">line 73</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Transfers <code>_values</code> amount(s) of <code>_ids</code> from the <code>_from</code> address to the <code>_to</code> address specified (with safety call).</p> </div> <h4 class="name" id="erc1155SetApprovalForAll"><span class="type-signature">(constant) </span>erc1155SetApprovalForAll<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="erc1155_index.ts.html">erc1155/index.ts</a>, <a href="erc1155_index.ts.html#line60">line 60</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Enable or disable approval for a third party (&quot;operator&quot;) to manage all of the caller's tokens.</p> </div> <h4 class="name" id="farmGetStakerAddress"><span class="type-signature">(constant) </span>farmGetStakerAddress<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line12">line 12</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get staker contract address by staking token</p> </div> <h4 class="name" id="farmGetStakerBalanceOf"><span class="type-signature">(constant) </span>farmGetStakerBalanceOf<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line41">line 41</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get the amount of staking token for a specific address</p> </div> <h4 class="name" id="farmGetStakerEarned"><span class="type-signature">(constant) </span>farmGetStakerEarned<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line58">line 58</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get the amount of token already earned</p> </div> <h4 class="name" id="farmGetStakerExit"><span class="type-signature">(constant) </span>farmGetStakerExit<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line118">line 118</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Exit staker</p> </div> <h4 class="name" id="farmGetStakerGetReward"><span class="type-signature">(constant) </span>farmGetStakerGetReward<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line104">line 104</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Claim reward</p> </div> <h4 class="name" id="farmGetStakerStakeToken"><span class="type-signature">(constant) </span>farmGetStakerStakeToken<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line75">line 75</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Stake token to staker contract</p> </div> <h4 class="name" id="farmGetStakerTotalSupply"><span class="type-signature">(constant) </span>farmGetStakerTotalSupply<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line24">line 24</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get the amount of staking token</p> </div> <h4 class="name" id="farmStakerWithdraw"><span class="type-signature">(constant) </span>farmStakerWithdraw<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="farm_v1.ts.html">farm/v1.ts</a>, <a href="farm_v1.ts.html#line90">line 90</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Withdraw token from staker contract</p> </div> <h4 class="name" id="furnaceBuyTreasure"><span class="type-signature">(constant) </span>furnaceBuyTreasure<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line32">line 32</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Buy treasure</p> </div> <h4 class="name" id="furnaceDisenchantProps"><span class="type-signature">(constant) </span>furnaceDisenchantProps<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line66">line 66</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Disenchant furnace props, and will get elements or LP and nft</p> </div> <h4 class="name" id="furnaceDismantleEquipment"><span class="type-signature">(constant) </span>furnaceDismantleEquipment<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line114">line 114</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Disenchant Equipment and will get elements and material</p> </div> <h4 class="name" id="furnaceEnchantEquipment"><span class="type-signature">(constant) </span>furnaceEnchantEquipment<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line126">line 126</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Use material and elements tokens in the furnace formula to the equipment.</p> </div> <h4 class="name" id="furnaceEnchantProps"><span class="type-signature">(constant) </span>furnaceEnchantProps<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line56">line 56</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Use nft and elements or LP tokens in the furnace formula to the props.</p> </div> <h4 class="name" id="furnaceGetTreasurePrice"><span class="type-signature">(constant) </span>furnaceGetTreasurePrice<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line14">line 14</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get treasure price</p> </div> <h4 class="name" id="furnaceGetTreasureStatus"><span class="type-signature">(constant) </span>furnaceGetTreasureStatus<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line77">line 77</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Get treasure is opened</p> </div> <h4 class="name" id="furnaceOpenTreasure"><span class="type-signature">(constant) </span>furnaceOpenTreasure<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="furnace_v2.ts.html">furnace/v2.ts</a>, <a href="furnace_v2.ts.html#line89">line 89</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Open furnace treasure</p> </div> <h4 class="name" id="goldRushRaffleChangeAmount"><span class="type-signature">(constant) </span>goldRushRaffleChangeAmount<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line24">line 24</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush Change Amount</p> </div> <h4 class="name" id="goldRushRaffleChangeInfo"><span class="type-signature">(constant) </span>goldRushRaffleChangeInfo<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line47">line 47</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush Change Info</p> </div> <h4 class="name" id="goldRushRaffleChangeSubAddr"><span class="type-signature">(constant) </span>goldRushRaffleChangeSubAddr<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line35">line 35</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush Change Subaddress</p> </div> <h4 class="name" id="goldRushRaffleDraw"><span class="type-signature">(constant) </span>goldRushRaffleDraw<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line69">line 69</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush Draw</p> </div> <h4 class="name" id="goldRushRaffleExit"><span class="type-signature">(constant) </span>goldRushRaffleExit<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line57">line 57</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush Exit</p> </div> <h4 class="name" id="goldRushRaffleGetHistory"><span class="type-signature">(constant) </span>goldRushRaffleGetHistory<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line80">line 80</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush History</p> </div> <h4 class="name" id="goldRushRaffleJoin"><span class="type-signature">(constant) </span>goldRushRaffleJoin<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="goldrush_v1.ts.html">goldrush/v1.ts</a>, <a href="goldrush_v1.ts.html#line13">line 13</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Goldrush Join</p> </div> <h4 class="name" id="landAskWithToken"><span class="type-signature">(constant) </span>landAskWithToken<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="land_v1.ts.html">land/v1.ts</a>, <a href="land_v1.ts.html#line89">line 89</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Sell land asset</p> </div> <h4 class="name" id="landBatchClaimItemResource"><span class="type-signature">(constant) </span>landBatchClaimItemResource<span class="type-signature"></span></h4> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="land_v1.ts.html">land/v1.ts</a>, <a href="land_v1.ts.html#line132">line 132</a> </li></ul></dd> </dl> <div class="description usertext"> <p>Batch claim item resource.</p> </div> <h4 class="name" id="land