getLockups

function getLockups(
)external returns(LockupResultInfo[] memory list)

์†Œ์œ ์ค‘์ธ Lockup ํ˜„ํ™ฉ ๋ณด๊ธฐ

Return Values

struct LockupResultInfo{
    uint256 timestamp;
    uint256 amount;
    uint256 duration;
    uint256 index;
}

Example

await lockupContract.getLockups()

// ๊ฒฐ๊ณผ
[
  [
    BigNumber { value: "1662083022" },
    BigNumber { value: "1000000000000000000" },
    BigNumber { value: "0" },
    BigNumber { value: "0" },
    timestamp: BigNumber { value: "1662083022" },
    amount: BigNumber { value: "1000000000000000000" },
    duration: BigNumber { value: "0" },
    index: BigNumber { value: "0" }
  ]
]

Last updated