function getLockupsByAccount(
address _account
)external returns(LockupResultInfo[] memory list)
struct LockupResultInfo{
uint256 lockuptime; // lockup 시작 시간
uint256 timestamp; // unlock 시간
uint256 amount; // Lockup 토큰 개수
uint256 duration; // Lockup 기간
uint256 amountIndex; // lockup 기간 Index
uint256 index; // Lokcup Index
}
await lockupContract.getLockupsByAccount(accounts[0].address)
// 결과
[
[
BigNumber { value: "1679469948" },
BigNumber { value: "1679324400" },
BigNumber { value: "24000000000000000000" },
BigNumber { value: "23328000" },
BigNumber { value: "33" },
BigNumber { value: "9" },
'0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC',
lockuptime: BigNumber { value: "1679469948" },
timestamp: BigNumber { value: "1679324400" },
amount: BigNumber { value: "24000000000000000000" },
duration: BigNumber { value: "23328000" },
index: BigNumber { value: "33" },
amountIndex: BigNumber { value: "9" },
account: '0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC'
]
]