mirror of
				https://github.com/Instadapp/boardroom-inc-protocol-Info.git
				synced 2024-07-29 22:37:02 +00:00 
			
		
		
		
	fix: claim type
This commit is contained in:
		
							parent
							
								
									e68a370e18
								
							
						
					
					
						commit
						0dd6fa0bc3
					
				| 
						 | 
				
			
			@ -104,6 +104,8 @@ async function run() {
 | 
			
		|||
  for (let i = 0; i < Object.keys(notDed).length; i++) {
 | 
			
		||||
    const key = Object.keys(notDed)[i];
 | 
			
		||||
 | 
			
		||||
    console.log("Writing: ", key);
 | 
			
		||||
 | 
			
		||||
    const tokenAddress = extractTokenAddress(notDed[key]);
 | 
			
		||||
 | 
			
		||||
    exec(`sh ./scripts/add_new_protocol.sh ${key} ${tokenAddress}`, (error, stdout, stderr) => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										5
									
								
								types.ts
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								types.ts
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -9,6 +9,11 @@ export const ProtocolIo = t.type({
 | 
			
		|||
  folder: t.string,
 | 
			
		||||
  type: t.union([t.literal("snapshot"), t.literal("compoundish")]),
 | 
			
		||||
  suffix: t.string,
 | 
			
		||||
  claim: t.type({
 | 
			
		||||
    isClaimed: t.boolean,
 | 
			
		||||
    claimer: t.string,
 | 
			
		||||
    signature: t.string,
 | 
			
		||||
  }),
 | 
			
		||||
  coinGeckoPriceString: t.string,
 | 
			
		||||
  tokenContractAddress: t.string,
 | 
			
		||||
  governanceContractAddress: t.union([t.string, t.undefined]),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user