doBreedNFT

function doBreedNFT(
    BreedNFTRequest[] memory _request,
) external onlyRelayAdmin

NFT Breed

Parameters

struct BreedNFTRequest{
    address nftContract;
    string messageId;
    string ownerUid;
    uint256 matronId;
    uint256 sireId;
    uint256 breedFee;
    uint256 tokenId;
    string url;
    uint256 txFee;
}
TypeValueDescription

BreedNFTRequest

_request

request λ°°μ—΄

BreedNFTRequest.address

nftContract

NFT μ»¨νŠΈλž™νŠΈ μ£Όμ†Œ

BreedNFTRequest.string

messageId

λ©”μ‹œμ§€ 고유 ID

BreedNFTRequest.string

ownerUid

μ‚¬μš©μž uid

BreedNFTRequest.uint256

matornId

λΆ€λͺ¨ token id

BreedNFTRequest.uint256

sireId

λΆ€λͺ¨ token id

BreedNFTRequest.uint256

breedFee

λΈŒλ¦¬λ”© 수수료

BreedNFTRequest.uint256

tokenId

λΈŒλ¦¬λ”© κ²°κ³Ό 토큰 id

BreedNFTRequest.string

url

λΈŒλ¦¬λ”© κ²°κ³Ό url

BreedNFTRequest.uint256

txFee

tx 수수료

Example

await manageNftRouterContract.doBreedNFT(
        [{nftContract:fairyNftContract.address
        messageId:"1234", 
        ownerUid:uid1, 
        matronId:1, 
        sireId:2, 
        breedFee:ethers.utils.parseEther("200"), 
        tokenId:1001, 
        url:"http://test.com/fairy/", 
        txFee:ethers.utils.parseEther("100")}]
);

2023.02.10

Last updated