{
    "getAllMyPositionsFromNFT":{
       "inputs":[
          {
             "internalType":"address",
             "name":"foldingNFT",
             "type":"address"
          }
       ],
       "name":"getAllMyPositionsFromNFT",
       "outputs":[
          {
             "components":[
                {
                   "internalType":"uint256",
                   "name":"supplyAmount",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"borrowAmount",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"collateralUsageFactor",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"principalValue",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"positionValue",
                   "type":"uint256"
                },
                {
                   "internalType":"address",
                   "name":"positionAddress",
                   "type":"address"
                },
                {
                   "internalType":"address",
                   "name":"platformAddress",
                   "type":"address"
                },
                {
                   "internalType":"address",
                   "name":"supplyTokenAddress",
                   "type":"address"
                },
                {
                   "internalType":"address",
                   "name":"borrowTokenAddress",
                   "type":"address"
                }
             ],
             "internalType":"struct SimplePositionMetadata[]",
             "name":"assetsData",
             "type":"tuple[]"
          }
       ],
       "stateMutability":"nonpayable",
       "type":"function"
    },
    "getPositionsMetadata":{
       "inputs":[
          {
             "internalType":"address[]",
             "name":"positions",
             "type":"address[]"
          }
       ],
       "name":"getPositionsMetadata",
       "outputs":[
          {
             "components":[
                {
                   "internalType":"uint256",
                   "name":"supplyAmount",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"borrowAmount",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"collateralUsageFactor",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"principalValue",
                   "type":"uint256"
                },
                {
                   "internalType":"uint256",
                   "name":"positionValue",
                   "type":"uint256"
                },
                {
                   "internalType":"address",
                   "name":"positionAddress",
                   "type":"address"
                },
                {
                   "internalType":"address",
                   "name":"platformAddress",
                   "type":"address"
                },
                {
                   "internalType":"address",
                   "name":"supplyTokenAddress",
                   "type":"address"
                },
                {
                   "internalType":"address",
                   "name":"borrowTokenAddress",
                   "type":"address"
                }
             ],
             "internalType":"struct SimplePositionMetadata[]",
             "name":"assetsData",
             "type":"tuple[]"
          }
       ],
       "stateMutability":"nonpayable",
       "type":"function"
    },
    "tokenByIndex":{
       "inputs":[
          {
             "internalType":"uint256",
             "name":"",
             "type":"uint256"
          }
       ],
       "name":"tokenByIndex",
       "outputs":[
          {
             "internalType":"address",
             "name":"",
             "type":"address"
          }
       ],
       "stateMutability":"view",
       "type":"function"
    }
 }