struct LockupResultInfo{
uint256 timestamp; // Lockup μκ°
uint256 amount; // Lockup ν ν° κ°μ
uint256 duration; // Lockup κΈ°κ°
uint256 index; // Lokcup Index
}
// exec
await lockupContract.getLockups();
// Result
[
[
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" }
]
]