Skip to content

Commit d75bf4e

Browse files
authored
Merge pull request #54 from 0xHashstack/development
ENHANCEMENT updated abis for both claims [DONE]
2 parents 9c6a712 + 8f507cd commit d75bf4e

File tree

2 files changed

+64
-5
lines changed

2 files changed

+64
-5
lines changed

src/Blockchain/abis/proxyClaimAbiL2.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,34 @@
327327
],
328328
"outputs": [],
329329
"state_mutability": "external"
330+
},
331+
{
332+
"name": "transfer_tickets",
333+
"type": "function",
334+
"inputs": [
335+
{
336+
"name": "beneficiaries",
337+
"type": "core::array::Array::<core::starknet::contract_address::ContractAddress>"
338+
},
339+
{
340+
"name": "ticket_type",
341+
"type": "core::integer::u8"
342+
}
343+
],
344+
"outputs": [],
345+
"state_mutability": "external"
346+
},
347+
{
348+
"name": "claim_tokens",
349+
"type": "function",
350+
"inputs": [
351+
{
352+
"name": "receipient",
353+
"type": "core::starknet::contract_address::ContractAddress"
354+
}
355+
],
356+
"outputs": [],
357+
"state_mutability": "external"
330358
}
331359
]
332360
},

src/Blockchain/abis/proxyClaimAbil1.json

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@
6666
"name": "InvalidVestingPeriod",
6767
"type": "error"
6868
},
69-
{
70-
"inputs": [],
71-
"name": "NoPendingClaim",
72-
"type": "error"
73-
},
7469
{
7570
"inputs": [],
7671
"name": "NotInitializing",
@@ -108,6 +103,11 @@
108103
"name": "ReentrancyGuardReentrantCall",
109104
"type": "error"
110105
},
106+
{
107+
"inputs": [],
108+
"name": "TicketRevoked",
109+
"type": "error"
110+
},
111111
{
112112
"inputs": [],
113113
"name": "TransferFailed",
@@ -440,6 +440,19 @@
440440
"stateMutability": "nonpayable",
441441
"type": "function"
442442
},
443+
{
444+
"inputs": [
445+
{
446+
"internalType": "address",
447+
"name": "_recipient",
448+
"type": "address"
449+
}
450+
],
451+
"name": "claimTokens",
452+
"outputs": [],
453+
"stateMutability": "nonpayable",
454+
"type": "function"
455+
},
443456
{
444457
"inputs": [
445458
{
@@ -586,6 +599,19 @@
586599
"stateMutability": "nonpayable",
587600
"type": "function"
588601
},
602+
{
603+
"inputs": [
604+
{
605+
"internalType": "uint256",
606+
"name": "_id",
607+
"type": "uint256"
608+
}
609+
],
610+
"name": "revoke",
611+
"outputs": [],
612+
"stateMutability": "nonpayable",
613+
"type": "function"
614+
},
589615
{
590616
"inputs": [],
591617
"name": "token",
@@ -724,6 +750,11 @@
724750
"name": "beneficiary",
725751
"type": "address"
726752
},
753+
{
754+
"internalType": "bool",
755+
"name": "isRevoked",
756+
"type": "bool"
757+
},
727758
{
728759
"internalType": "enum Claimable.TicketType",
729760
"name": "ticketType",

0 commit comments

Comments
 (0)