Read Contract

avalibleINS

The method allows users to retrieve the details of a specific auction using its ID. By providing the auction ID as input, users can access various information about the auction, such as its owner, minimum and maximum cap, price per token, start and end blocks, referral fees for different levels, and any additional data associated with the auction. This functionality is valuable for users who want to explore and analyze the details of different auctions before participating in them.

Data

Description

<input> (uint256)

The ID of the auction for which we want to retrieve the auction details.

a. Input Auction ID

b. Shows the Auction Creation details

busd

This method returns the BUSD address

getActiveInsTokenIds

The method allows obtaining a list of all token IDs that have been listed for sale in the auction. This method does not require any input parameters, as it retrieves information about all tokens listed for sale across all auctions.

getAllAvalibleIns

The method allows users to obtain a list of all token IDs that have been listed for sale in the auction. This method does not require any input parameters, as it retrieves information about all tokens listed for sale across all auctions. Users can use this information to see the complete list of tokens available for purchase and make informed decisions about their buying activities.Returns an array of created auctions[TokenID, Price, StartBlock, EndBlock, MinCap, MaxCap, MinCapInBusd, MaxCapInBusd, MultipleDeposits, AuctionOperator, CurrentCapInBusd, CurrentCap, Valid, AuctionID]

getBatchIns

The method provides a convenient way for users to query and retrieve information about multiple auctions in a single function call. By providing an array of auction IDs as input, users can get detailed information about each of the specified auctions, such as the owner's address, minimum and maximum caps, prices per token, start and end blocks, referral fees, and any additional data associated with each auction. This method is useful for applications that require batch retrieval of auction details for display or analysis purposes.

Data

Description

insIds (uint256)

The array of auction IDs for which we want to retrieve information.

a. Input array of INS IDs

b. Return in array specific auction details

getCreatedInsIds

The method allows users to obtain a list of all the auction IDs for the INS auctions that have been created in the contract. It provides a way to access the identifiers of the individual auctions, which can be useful for various purposes, such as tracking, monitoring, and managing the different auctions available in the contract.

getFinishedInsTokenIds

This method is responsible for returning an array containing [Token ID, token contract address] data indicating whether a specific INS Auction has been fully concluded. It checks whether all participants have already withdrawn tokens and funds from the contract.

getInsDeposits

The method allows users to check if there were any deposits made in a specific INS auction. If deposits were made, the method also provides information about the addresses, price of deposit, withdraw status, and block number of the depositors who participated in the auction.

Data

Description

insId (uint256)

The ID of the INS auction for which we want to retrieve deposit information.

a. Input an INS ID

b. Returns deposits of a specific auction

getInsTokenContractAddress

The method is used to retrieve the address of the token contract associated with a specific INS auction.

Data

Description

insId (uint256)

The ID of the INS auction for which we want to retrieve deposit information.

a. Input an INS ID

b. Returns the Token Contract Address of specific auction ID

getInsWalletDeposits

The method allows users to check if a specific wallet address has made a deposit for a particular INS auction. By providing the auction ID and the wallet address as inputs, users can determine if the address participated in the auction by making a deposit.

Data

Description

insId (uint256)

The ID of the INS auction for which we want to check the deposit.

walletAddress (address)

The address of the wallet for which we want to check if it made a deposit.

a. Input an INS ID

b. Input an address that has to be checked

c. Returns an array structure [wallet address, CapInBusd, withdraw, block]

getTokenIns

The method allows obtaining a list of all the INS auctions that have been created specifically for a particular token. By providing the token ID as input, it retrieves a list of auction IDs associated with that token.

Data

Description

tokenId (uint256)

The ID of the token for which we want to retrieve the created INS auctions.

a. Input a token ID

b. Returns array where the last elements show the specific Auction ID

getWalletIns

The method allows for determining how many INS auctions have been created by a particular wallet address. By providing the user's wallet address as input, the method returns an array of auctions associated with that address.

Data

Description

walletAddress (address)

The address of the user for whom we want to retrieve the number of created INS auctions.

a. Wallet address that we want to check

b. Returns an array of INSes that were created by a specific address

insReferralFees

The method allows obtaining the referral fees set for different levels in a particular INS auction. By providing the auction ID as input, the method returns the referral fees for level 1, level 2, and level 3. These referral fees represent the percentage of transaction value that will be rewarded to referrers for each level.

Data

Description

walletAddress (address)

The address of the user for whom we want to retrieve the number of created INS auctions.

a. Input the INS ID

b. Returns 3 levels of Referral fee

insRoyaltyTeamMembers

The insRoyaltyTeamMembers method returns the fee assigned to a specific team member of a given INS (Initial NFT Selling) auction. This information is obtained by providing the INS ID and the user's ID associated with the team member.

Data

Description

<input> (uint256)

The unique identifier of the INS auction.

<input> (uint256)

The ID associated with the specific team member.

a. Input the INSID

b. Input ID of a user in the team

c. Return the member address and the member Royalty fee

metaproReferral

The method allows obtaining the address of the contract that manages referral-related functionalities. This contract is responsible for tracking and handling referral rewards, calculating referral fees, and managing the referral system associated with the main contract.

metaproRoyalty

The method allows obtaining the address of the contract that manages royalty-related functionalities. This contract is responsible for handling royalty payments and managing the distribution of royalties to creators or token co-owners based on the terms and conditions specified in the smart contract.

owner

The method allows obtaining the address of the individual or entity that deployed and owns the smart contract. The contract owner has special privileges and permissions to perform certain administrative tasks or manage critical functionalities of the contract.

supportInterface

This method is used to check if a given contract supports a specific interface. The interfaceId argument represents the interface identifier, which is a four-byte value. The method returns true if the contract supports the specified interface, or false if it does not.

Data

Description

interfaceId (bytes4)

Identifier of the interface you want to check.

a. Input the interface ID (you can apply the same approach to support the ERC-165 (0x01ffc9a7) interface or other interfaces. Simply change the identifier according to the interface you want to check.)

b. Response true or false if the Contract supports the Token Standard

treasuryFee

The method allows obtaining the transaction fee percentage applied to transactions within the contract. The fee is usually taken from the transaction amount and transferred to the treasury address for various purposes like funding the development, maintenance, or other operations related to the contract.

100 = 1% of the transaction value.

tressuryAddress

The method allows obtaining the address where the transaction fee collected from various contract interactions is transferred. Typically, the collected fees are sent to a designated treasury address, which can be managed by the contract owner or a specified entity.

Last updated