Skip to content

Commit 43a7d14

Browse files
committed
feat: change passport address and abi
1 parent 3f50c68 commit 43a7d14

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/utils/abis.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,6 +2711,13 @@ export const FreePassportAbi = [
27112711
stateMutability: "view",
27122712
type: "function",
27132713
},
2714+
{
2715+
inputs: [{ internalType: "uint256", name: "", type: "uint256" }],
2716+
name: "_premium",
2717+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
2718+
stateMutability: "view",
2719+
type: "function",
2720+
},
27142721
{
27152722
inputs: [
27162723
{ internalType: "address", name: "to", type: "address" },
@@ -2797,6 +2804,13 @@ export const FreePassportAbi = [
27972804
stateMutability: "nonpayable",
27982805
type: "function",
27992806
},
2807+
{
2808+
inputs: [{ internalType: "uint256", name: "_days", type: "uint256" }],
2809+
name: "changeFreePassportExpiresDays",
2810+
outputs: [],
2811+
stateMutability: "nonpayable",
2812+
type: "function",
2813+
},
28002814
{
28012815
inputs: [],
28022816
name: "currentID",
@@ -2811,6 +2825,7 @@ export const FreePassportAbi = [
28112825
{ internalType: "uint256", name: "nftIDs", type: "uint256" },
28122826
{ internalType: "uint256", name: "expires", type: "uint256" },
28132827
{ internalType: "uint256", name: "expiresDays", type: "uint256" },
2828+
{ internalType: "bool", name: "premium", type: "bool" },
28142829
],
28152830
stateMutability: "view",
28162831
type: "function",
@@ -2829,6 +2844,7 @@ export const FreePassportAbi = [
28292844
{ internalType: "uint256[]", name: "nftIDs", type: "uint256[]" },
28302845
{ internalType: "uint256[]", name: "expires", type: "uint256[]" },
28312846
{ internalType: "uint256[]", name: "expiresDays", type: "uint256[]" },
2847+
{ internalType: "bool[]", name: "premium", type: "bool[]" },
28322848
],
28332849
stateMutability: "view",
28342850
type: "function",
@@ -2847,6 +2863,7 @@ export const FreePassportAbi = [
28472863
inputs: [
28482864
{ internalType: "address", name: "to", type: "address" },
28492865
{ internalType: "uint256", name: "expiresDayes", type: "uint256" },
2866+
{ internalType: "bool", name: "premium", type: "bool" },
28502867
],
28512868
name: "mintPassport",
28522869
outputs: [],

src/utils/contracts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const contracts = {
3030
abi: ConetStorageAbi,
3131
},
3232
FreePassport: {
33-
address: "0xEa6356BcE3E1264C03C93CBa668BB486765a46BA",
33+
address: "0xb889F14b557C2dB610f283055A988952953E0E94",
3434
abi: FreePassportAbi,
3535
},
3636
ConetDepin: {

0 commit comments

Comments
 (0)