@ape.swap/bonds-sdk 1.0.473 → 1.0.475

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/dist/config/abi/bondNft.json +424 -0
  2. package/dist/config/abi/ens-public-resolver.json +816 -0
  3. package/dist/config/abi/ens-registrar.json +422 -0
  4. package/dist/config/abi/erc20_bytes32.json +30 -0
  5. package/dist/config/abi/jungleChef.json +291 -0
  6. package/dist/config/abi/launchBonds.json +2014 -0
  7. package/dist/config/abi/lockVeAbond.json +2198 -0
  8. package/dist/config/abi/migrationBond.json +1639 -0
  9. package/dist/config/abi/migrationFveAbond.json +160 -0
  10. package/dist/config/abi/multicallv3.json +92 -0
  11. package/dist/config/abi/sousChef.json +649 -0
  12. package/dist/config/abi/types/Banana.d.ts +417 -0
  13. package/dist/config/abi/types/Banana.js +1 -0
  14. package/dist/config/abi/types/Bond.d.ts +803 -0
  15. package/dist/config/abi/types/Bond.js +1 -0
  16. package/dist/config/abi/types/BondNft.d.ts +603 -0
  17. package/dist/config/abi/types/BondNft.js +1 -0
  18. package/dist/config/abi/types/EnsPublicResolver.d.ts +513 -0
  19. package/dist/config/abi/types/EnsPublicResolver.js +1 -0
  20. package/dist/config/abi/types/EnsRegistrar.d.ts +274 -0
  21. package/dist/config/abi/types/EnsRegistrar.js +1 -0
  22. package/dist/config/abi/types/Erc20.d.ts +168 -0
  23. package/dist/config/abi/types/Erc20.js +1 -0
  24. package/dist/config/abi/types/Erc20_bytes32.d.ts +50 -0
  25. package/dist/config/abi/types/Erc20_bytes32.js +1 -0
  26. package/dist/config/abi/types/JungleChef.d.ts +260 -0
  27. package/dist/config/abi/types/JungleChef.js +1 -0
  28. package/dist/config/abi/types/LaunchBonds.d.ts +1362 -0
  29. package/dist/config/abi/types/LaunchBonds.js +1 -0
  30. package/dist/config/abi/types/LensContract.d.ts +295 -0
  31. package/dist/config/abi/types/LensContract.js +1 -0
  32. package/dist/config/abi/types/LockVeAbond.d.ts +1279 -0
  33. package/dist/config/abi/types/LockVeAbond.js +1 -0
  34. package/dist/config/abi/types/MigrationBond.d.ts +1136 -0
  35. package/dist/config/abi/types/MigrationBond.js +1 -0
  36. package/dist/config/abi/types/MigrationFveAbond.d.ts +290 -0
  37. package/dist/config/abi/types/MigrationFveAbond.js +1 -0
  38. package/dist/config/abi/types/MiniComplexRewarder.d.ts +469 -0
  39. package/dist/config/abi/types/MiniComplexRewarder.js +1 -0
  40. package/dist/config/abi/types/Multicallv2.d.ts +150 -0
  41. package/dist/config/abi/types/Multicallv2.js +1 -0
  42. package/dist/config/abi/types/Multicallv3.d.ts +98 -0
  43. package/dist/config/abi/types/Multicallv3.js +1 -0
  44. package/dist/config/abi/types/NonFungibleApes.d.ts +532 -0
  45. package/dist/config/abi/types/NonFungibleApes.js +1 -0
  46. package/dist/config/abi/types/NonFungibleBananas.d.ts +505 -0
  47. package/dist/config/abi/types/NonFungibleBananas.js +1 -0
  48. package/dist/config/abi/types/PriceGetter.d.ts +713 -0
  49. package/dist/config/abi/types/PriceGetter.js +1 -0
  50. package/dist/config/abi/types/PriceGetterLinea.d.ts +789 -0
  51. package/dist/config/abi/types/PriceGetterLinea.js +1 -0
  52. package/dist/config/abi/types/PriceGetterV2.d.ts +729 -0
  53. package/dist/config/abi/types/PriceGetterV2.js +1 -0
  54. package/dist/config/abi/types/SousChef.d.ts +579 -0
  55. package/dist/config/abi/types/SousChef.js +1 -0
  56. package/dist/config/abi/types/Treasury.d.ts +277 -0
  57. package/dist/config/abi/types/Treasury.js +1 -0
  58. package/dist/config/abi/types/Weth.d.ts +221 -0
  59. package/dist/config/abi/types/Weth.js +1 -0
  60. package/dist/config/abi/types/Zap.d.ts +528 -0
  61. package/dist/config/abi/types/Zap.js +1 -0
  62. package/dist/config/abi/types/common.d.ts +22 -0
  63. package/dist/config/abi/types/common.js +1 -0
  64. package/dist/config/abi/types/factories/Banana__factory.d.ts +475 -0
  65. package/dist/config/abi/types/factories/Banana__factory.js +628 -0
  66. package/dist/config/abi/types/factories/BondNft__factory.d.ts +723 -0
  67. package/dist/config/abi/types/factories/BondNft__factory.js +951 -0
  68. package/dist/config/abi/types/factories/Bond__factory.d.ts +799 -0
  69. package/dist/config/abi/types/factories/Bond__factory.js +1042 -0
  70. package/dist/config/abi/types/factories/EnsPublicResolver__factory.d.ts +649 -0
  71. package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +833 -0
  72. package/dist/config/abi/types/factories/EnsRegistrar__factory.d.ts +338 -0
  73. package/dist/config/abi/types/factories/EnsRegistrar__factory.js +439 -0
  74. package/dist/config/abi/types/factories/Erc20__factory.d.ts +175 -0
  75. package/dist/config/abi/types/factories/Erc20__factory.js +239 -0
  76. package/dist/config/abi/types/factories/Erc20_bytes32__factory.d.ts +30 -0
  77. package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +47 -0
  78. package/dist/config/abi/types/factories/JungleChef__factory.d.ts +247 -0
  79. package/dist/config/abi/types/factories/JungleChef__factory.js +326 -0
  80. package/dist/config/abi/types/factories/LaunchBonds__factory.d.ts +1560 -0
  81. package/dist/config/abi/types/factories/LaunchBonds__factory.js +2031 -0
  82. package/dist/config/abi/types/factories/LensContract__factory.d.ts +254 -0
  83. package/dist/config/abi/types/factories/LensContract__factory.js +338 -0
  84. package/dist/config/abi/types/factories/LockVeAbond__factory.d.ts +1698 -0
  85. package/dist/config/abi/types/factories/LockVeAbond__factory.js +2215 -0
  86. package/dist/config/abi/types/factories/MigrationBond__factory.d.ts +1268 -0
  87. package/dist/config/abi/types/factories/MigrationBond__factory.js +1656 -0
  88. package/dist/config/abi/types/factories/MigrationFveAbond__factory.d.ts +262 -0
  89. package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +346 -0
  90. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.d.ts +448 -0
  91. package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +586 -0
  92. package/dist/config/abi/types/factories/Multicallv2__factory.d.ts +115 -0
  93. package/dist/config/abi/types/factories/Multicallv2__factory.js +160 -0
  94. package/dist/config/abi/types/factories/Multicallv3__factory.d.ts +76 -0
  95. package/dist/config/abi/types/factories/Multicallv3__factory.js +109 -0
  96. package/dist/config/abi/types/factories/NonFungibleApes__factory.d.ts +617 -0
  97. package/dist/config/abi/types/factories/NonFungibleApes__factory.js +810 -0
  98. package/dist/config/abi/types/factories/NonFungibleBananas__factory.d.ts +576 -0
  99. package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +756 -0
  100. package/dist/config/abi/types/factories/PriceGetterLinea__factory.d.ts +1105 -0
  101. package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +1465 -0
  102. package/dist/config/abi/types/factories/PriceGetterV2__factory.d.ts +1027 -0
  103. package/dist/config/abi/types/factories/PriceGetterV2__factory.js +1364 -0
  104. package/dist/config/abi/types/factories/PriceGetter__factory.d.ts +999 -0
  105. package/dist/config/abi/types/factories/PriceGetter__factory.js +1326 -0
  106. package/dist/config/abi/types/factories/SousChef__factory.d.ts +511 -0
  107. package/dist/config/abi/types/factories/SousChef__factory.js +666 -0
  108. package/dist/config/abi/types/factories/Treasury__factory.d.ts +235 -0
  109. package/dist/config/abi/types/factories/Treasury__factory.js +309 -0
  110. package/dist/config/abi/types/factories/Weth__factory.d.ts +220 -0
  111. package/dist/config/abi/types/factories/Weth__factory.js +296 -0
  112. package/dist/config/abi/types/factories/Zap__factory.d.ts +695 -0
  113. package/dist/config/abi/types/factories/Zap__factory.js +889 -0
  114. package/dist/config/abi/types/factories/index.d.ts +25 -0
  115. package/dist/config/abi/types/factories/index.js +28 -0
  116. package/dist/config/abi/types/index.d.ts +51 -0
  117. package/dist/config/abi/types/index.js +26 -0
  118. package/dist/config/abi/weth.json +279 -0
  119. package/dist/hooks/useClaimBill.d.ts +4 -0
  120. package/dist/hooks/useClaimBill.js +59 -0
  121. package/dist/hooks/useContract.d.ts +25 -0
  122. package/dist/hooks/useContract.js +107 -0
  123. package/dist/pages/YourBonds/YourBonds.js +37 -10
  124. package/dist/utils/index.d.ts +16 -0
  125. package/dist/utils/index.js +127 -0
  126. package/dist/utils/track.d.ts +7 -0
  127. package/dist/utils/track.js +17 -0
  128. package/package.json +1 -1
@@ -0,0 +1,160 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ var _abi = [
6
+ {
7
+ constant: true,
8
+ inputs: [],
9
+ name: "getCurrentBlockTimestamp",
10
+ outputs: [
11
+ {
12
+ name: "timestamp",
13
+ type: "uint256",
14
+ },
15
+ ],
16
+ payable: false,
17
+ stateMutability: "view",
18
+ type: "function",
19
+ },
20
+ {
21
+ constant: true,
22
+ inputs: [
23
+ {
24
+ components: [
25
+ {
26
+ name: "target",
27
+ type: "address",
28
+ },
29
+ {
30
+ name: "callData",
31
+ type: "bytes",
32
+ },
33
+ ],
34
+ name: "calls",
35
+ type: "tuple[]",
36
+ },
37
+ ],
38
+ name: "aggregate",
39
+ outputs: [
40
+ {
41
+ name: "blockNumber",
42
+ type: "uint256",
43
+ },
44
+ {
45
+ name: "returnData",
46
+ type: "bytes[]",
47
+ },
48
+ ],
49
+ payable: false,
50
+ stateMutability: "view",
51
+ type: "function",
52
+ },
53
+ {
54
+ constant: true,
55
+ inputs: [],
56
+ name: "getLastBlockHash",
57
+ outputs: [
58
+ {
59
+ name: "blockHash",
60
+ type: "bytes32",
61
+ },
62
+ ],
63
+ payable: false,
64
+ stateMutability: "view",
65
+ type: "function",
66
+ },
67
+ {
68
+ constant: true,
69
+ inputs: [
70
+ {
71
+ name: "addr",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "getEthBalance",
76
+ outputs: [
77
+ {
78
+ name: "balance",
79
+ type: "uint256",
80
+ },
81
+ ],
82
+ payable: false,
83
+ stateMutability: "view",
84
+ type: "function",
85
+ },
86
+ {
87
+ constant: true,
88
+ inputs: [],
89
+ name: "getCurrentBlockDifficulty",
90
+ outputs: [
91
+ {
92
+ name: "difficulty",
93
+ type: "uint256",
94
+ },
95
+ ],
96
+ payable: false,
97
+ stateMutability: "view",
98
+ type: "function",
99
+ },
100
+ {
101
+ constant: true,
102
+ inputs: [],
103
+ name: "getCurrentBlockGasLimit",
104
+ outputs: [
105
+ {
106
+ name: "gaslimit",
107
+ type: "uint256",
108
+ },
109
+ ],
110
+ payable: false,
111
+ stateMutability: "view",
112
+ type: "function",
113
+ },
114
+ {
115
+ constant: true,
116
+ inputs: [],
117
+ name: "getCurrentBlockCoinbase",
118
+ outputs: [
119
+ {
120
+ name: "coinbase",
121
+ type: "address",
122
+ },
123
+ ],
124
+ payable: false,
125
+ stateMutability: "view",
126
+ type: "function",
127
+ },
128
+ {
129
+ constant: true,
130
+ inputs: [
131
+ {
132
+ name: "blockNumber",
133
+ type: "uint256",
134
+ },
135
+ ],
136
+ name: "getBlockHash",
137
+ outputs: [
138
+ {
139
+ name: "blockHash",
140
+ type: "bytes32",
141
+ },
142
+ ],
143
+ payable: false,
144
+ stateMutability: "view",
145
+ type: "function",
146
+ },
147
+ ];
148
+ var Multicallv2__factory = /** @class */ (function () {
149
+ function Multicallv2__factory() {
150
+ }
151
+ Multicallv2__factory.createInterface = function () {
152
+ return new utils.Interface(_abi);
153
+ };
154
+ Multicallv2__factory.connect = function (address, signerOrProvider) {
155
+ return new Contract(address, _abi, signerOrProvider);
156
+ };
157
+ Multicallv2__factory.abi = _abi;
158
+ return Multicallv2__factory;
159
+ }());
160
+ export { Multicallv2__factory };
@@ -0,0 +1,76 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { Multicallv3, Multicallv3Interface } from "../Multicallv3";
4
+ export declare class Multicallv3__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [];
7
+ readonly name: "getCurrentBlockTimestamp";
8
+ readonly outputs: readonly [{
9
+ readonly internalType: "uint256";
10
+ readonly name: "timestamp";
11
+ readonly type: "uint256";
12
+ }];
13
+ readonly stateMutability: "view";
14
+ readonly type: "function";
15
+ }, {
16
+ readonly inputs: readonly [{
17
+ readonly internalType: "address";
18
+ readonly name: "addr";
19
+ readonly type: "address";
20
+ }];
21
+ readonly name: "getEthBalance";
22
+ readonly outputs: readonly [{
23
+ readonly internalType: "uint256";
24
+ readonly name: "balance";
25
+ readonly type: "uint256";
26
+ }];
27
+ readonly stateMutability: "view";
28
+ readonly type: "function";
29
+ }, {
30
+ readonly inputs: readonly [{
31
+ readonly components: readonly [{
32
+ readonly internalType: "address";
33
+ readonly name: "target";
34
+ readonly type: "address";
35
+ }, {
36
+ readonly internalType: "uint256";
37
+ readonly name: "gasLimit";
38
+ readonly type: "uint256";
39
+ }, {
40
+ readonly internalType: "bytes";
41
+ readonly name: "callData";
42
+ readonly type: "bytes";
43
+ }];
44
+ readonly internalType: "struct UniswapInterfaceMulticall.Call[]";
45
+ readonly name: "calls";
46
+ readonly type: "tuple[]";
47
+ }];
48
+ readonly name: "multicall";
49
+ readonly outputs: readonly [{
50
+ readonly internalType: "uint256";
51
+ readonly name: "blockNumber";
52
+ readonly type: "uint256";
53
+ }, {
54
+ readonly components: readonly [{
55
+ readonly internalType: "bool";
56
+ readonly name: "success";
57
+ readonly type: "bool";
58
+ }, {
59
+ readonly internalType: "uint256";
60
+ readonly name: "gasUsed";
61
+ readonly type: "uint256";
62
+ }, {
63
+ readonly internalType: "bytes";
64
+ readonly name: "returnData";
65
+ readonly type: "bytes";
66
+ }];
67
+ readonly internalType: "struct UniswapInterfaceMulticall.Result[]";
68
+ readonly name: "returnData";
69
+ readonly type: "tuple[]";
70
+ }];
71
+ readonly stateMutability: "nonpayable";
72
+ readonly type: "function";
73
+ }];
74
+ static createInterface(): Multicallv3Interface;
75
+ static connect(address: string, signerOrProvider: Signer | Provider): Multicallv3;
76
+ }
@@ -0,0 +1,109 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ var _abi = [
6
+ {
7
+ inputs: [],
8
+ name: "getCurrentBlockTimestamp",
9
+ outputs: [
10
+ {
11
+ internalType: "uint256",
12
+ name: "timestamp",
13
+ type: "uint256",
14
+ },
15
+ ],
16
+ stateMutability: "view",
17
+ type: "function",
18
+ },
19
+ {
20
+ inputs: [
21
+ {
22
+ internalType: "address",
23
+ name: "addr",
24
+ type: "address",
25
+ },
26
+ ],
27
+ name: "getEthBalance",
28
+ outputs: [
29
+ {
30
+ internalType: "uint256",
31
+ name: "balance",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ stateMutability: "view",
36
+ type: "function",
37
+ },
38
+ {
39
+ inputs: [
40
+ {
41
+ components: [
42
+ {
43
+ internalType: "address",
44
+ name: "target",
45
+ type: "address",
46
+ },
47
+ {
48
+ internalType: "uint256",
49
+ name: "gasLimit",
50
+ type: "uint256",
51
+ },
52
+ {
53
+ internalType: "bytes",
54
+ name: "callData",
55
+ type: "bytes",
56
+ },
57
+ ],
58
+ internalType: "struct UniswapInterfaceMulticall.Call[]",
59
+ name: "calls",
60
+ type: "tuple[]",
61
+ },
62
+ ],
63
+ name: "multicall",
64
+ outputs: [
65
+ {
66
+ internalType: "uint256",
67
+ name: "blockNumber",
68
+ type: "uint256",
69
+ },
70
+ {
71
+ components: [
72
+ {
73
+ internalType: "bool",
74
+ name: "success",
75
+ type: "bool",
76
+ },
77
+ {
78
+ internalType: "uint256",
79
+ name: "gasUsed",
80
+ type: "uint256",
81
+ },
82
+ {
83
+ internalType: "bytes",
84
+ name: "returnData",
85
+ type: "bytes",
86
+ },
87
+ ],
88
+ internalType: "struct UniswapInterfaceMulticall.Result[]",
89
+ name: "returnData",
90
+ type: "tuple[]",
91
+ },
92
+ ],
93
+ stateMutability: "nonpayable",
94
+ type: "function",
95
+ },
96
+ ];
97
+ var Multicallv3__factory = /** @class */ (function () {
98
+ function Multicallv3__factory() {
99
+ }
100
+ Multicallv3__factory.createInterface = function () {
101
+ return new utils.Interface(_abi);
102
+ };
103
+ Multicallv3__factory.connect = function (address, signerOrProvider) {
104
+ return new Contract(address, _abi, signerOrProvider);
105
+ };
106
+ Multicallv3__factory.abi = _abi;
107
+ return Multicallv3__factory;
108
+ }());
109
+ export { Multicallv3__factory };