99 cairoERC721Descriptions ,
1010 cairoRoyaltyInfoDescriptions ,
1111 cairoERC1155Descriptions ,
12+ cairoERC6909Descriptions ,
1213 cairoAccountDescriptions ,
1314 cairoGovernorDescriptions ,
1415 cairoMultisigDescriptions ,
@@ -24,9 +25,9 @@ export const cairoCommonSchema = {
2425 . or ( z . literal ( 'roles-dar' ) )
2526 . or ( z . literal ( false ) )
2627 . describe ( cairoAccessDescriptions . accessType ) ,
27- darInitialDelay : z . string ( ) . describe ( cairoAccessDescriptions . darInitialDelay ) ,
28- darDefaultDelayIncrease : z . string ( ) . describe ( cairoAccessDescriptions . darDefaultDelayIncrease ) ,
29- darMaxTransferDelay : z . string ( ) . describe ( cairoAccessDescriptions . darMaxTransferDelay ) ,
28+ darInitialDelay : z . string ( ) . default ( '1 day' ) . describe ( cairoAccessDescriptions . darInitialDelay ) ,
29+ darDefaultDelayIncrease : z . string ( ) . default ( '5 days' ) . describe ( cairoAccessDescriptions . darDefaultDelayIncrease ) ,
30+ darMaxTransferDelay : z . string ( ) . default ( '30 days' ) . describe ( cairoAccessDescriptions . darMaxTransferDelay ) ,
3031 } )
3132 . optional ( ) ,
3233 upgradeable : z . boolean ( ) . optional ( ) . describe ( cairoCommonDescriptions . upgradeable ) ,
@@ -99,6 +100,17 @@ export const cairoERC1155Schema = {
99100 ...cairoCommonSchema ,
100101} as const satisfies z . ZodRawShape ;
101102
103+ export const cairoERC6909Schema = {
104+ name : z . string ( ) . describe ( commonDescriptions . name ) ,
105+ burnable : z . boolean ( ) . optional ( ) . describe ( commonDescriptions . burnable ) ,
106+ pausable : z . boolean ( ) . optional ( ) . describe ( commonDescriptions . pausable ) ,
107+ mintable : z . boolean ( ) . optional ( ) . describe ( commonDescriptions . mintable ) ,
108+ contentUri : z . boolean ( ) . optional ( ) . describe ( cairoERC6909Descriptions . contentUri ) ,
109+ tokenSupply : z . boolean ( ) . optional ( ) . describe ( cairoERC6909Descriptions . tokenSupply ) ,
110+ metadata : z . boolean ( ) . optional ( ) . describe ( cairoERC6909Descriptions . metadata ) ,
111+ ...cairoCommonSchema ,
112+ } as const satisfies z . ZodRawShape ;
113+
102114export const cairoAccountSchema = {
103115 name : z . string ( ) . describe ( commonDescriptions . name ) ,
104116 type : z . enum ( [ 'stark' , 'eth' ] ) . describe ( cairoAccountDescriptions . type ) ,
0 commit comments