@@ -48,10 +48,12 @@ export const layout = borsh.struct([
4848 borsh . u64 ( "startVestingTs" ) ,
4949 borsh . u64 ( "endVestingTs" ) ,
5050 borsh . u64 ( "clawbackStartTs" ) ,
51- borsh . bool ( "claimsClosable " ) ,
51+ borsh . bool ( "claimsClosableByAdmin " ) ,
5252 borsh . option ( borsh . bool ( ) , "canUpdateDuration" ) ,
5353 borsh . option ( borsh . u64 ( ) , "totalAmountUnlocked" ) ,
5454 borsh . option ( borsh . u64 ( ) , "totalAmountLocked" ) ,
55+ borsh . option ( borsh . bool ( ) , "claimsClosableByClaimant" ) ,
56+ borsh . option ( borsh . u16 ( ) , "claimsLimit" ) ,
5557] ) ;
5658
5759/**
@@ -105,10 +107,12 @@ export function newDistributor(
105107 startVestingTs : args . startVestingTs ,
106108 endVestingTs : args . endVestingTs ,
107109 clawbackStartTs : args . clawbackStartTs ,
108- claimsClosable : args . claimsClosable ,
110+ claimsClosableByAdmin : args . claimsClosable ,
109111 canUpdateDuration : null ,
110112 totalAmountUnlocked : null ,
111113 totalAmountLocked : null ,
114+ claimsClosableByClaimant : null ,
115+ claimsLimit : null ,
112116 } ,
113117 buffer ,
114118 ) ;
0 commit comments