Skip to content

Commit cce16f7

Browse files
test formatters (#594)
* test: new formatters * feat: added new token gateway types --------- Co-authored-by: Joaquin Battilana <[email protected]>
1 parent aaf048d commit cce16f7

39 files changed

+1098
-1953
lines changed
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
[
2+
{
3+
"inputs": [
4+
{ "internalType": "address", "name": "weth", "type": "address" },
5+
{ "internalType": "address", "name": "owner", "type": "address" },
6+
{ "internalType": "contract IPool", "name": "pool", "type": "address" }
7+
],
8+
"stateMutability": "nonpayable",
9+
"type": "constructor"
10+
},
11+
{
12+
"anonymous": false,
13+
"inputs": [
14+
{
15+
"indexed": true,
16+
"internalType": "address",
17+
"name": "previousOwner",
18+
"type": "address"
19+
},
20+
{
21+
"indexed": true,
22+
"internalType": "address",
23+
"name": "newOwner",
24+
"type": "address"
25+
}
26+
],
27+
"name": "OwnershipTransferred",
28+
"type": "event"
29+
},
30+
{ "stateMutability": "payable", "type": "fallback" },
31+
{
32+
"inputs": [
33+
{ "internalType": "address", "name": "", "type": "address" },
34+
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
35+
{ "internalType": "uint16", "name": "referralCode", "type": "uint16" }
36+
],
37+
"name": "borrowETH",
38+
"outputs": [],
39+
"stateMutability": "nonpayable",
40+
"type": "function"
41+
},
42+
{
43+
"inputs": [
44+
{ "internalType": "address", "name": "", "type": "address" },
45+
{ "internalType": "address", "name": "onBehalfOf", "type": "address" },
46+
{ "internalType": "uint16", "name": "referralCode", "type": "uint16" }
47+
],
48+
"name": "depositETH",
49+
"outputs": [],
50+
"stateMutability": "payable",
51+
"type": "function"
52+
},
53+
{
54+
"inputs": [
55+
{ "internalType": "address", "name": "to", "type": "address" },
56+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
57+
],
58+
"name": "emergencyEtherTransfer",
59+
"outputs": [],
60+
"stateMutability": "nonpayable",
61+
"type": "function"
62+
},
63+
{
64+
"inputs": [
65+
{ "internalType": "address", "name": "token", "type": "address" },
66+
{ "internalType": "address", "name": "to", "type": "address" },
67+
{ "internalType": "uint256", "name": "amount", "type": "uint256" }
68+
],
69+
"name": "emergencyTokenTransfer",
70+
"outputs": [],
71+
"stateMutability": "nonpayable",
72+
"type": "function"
73+
},
74+
{
75+
"inputs": [],
76+
"name": "getWETHAddress",
77+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
78+
"stateMutability": "view",
79+
"type": "function"
80+
},
81+
{
82+
"inputs": [],
83+
"name": "owner",
84+
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
85+
"stateMutability": "view",
86+
"type": "function"
87+
},
88+
{
89+
"inputs": [],
90+
"name": "renounceOwnership",
91+
"outputs": [],
92+
"stateMutability": "nonpayable",
93+
"type": "function"
94+
},
95+
{
96+
"inputs": [
97+
{ "internalType": "address", "name": "", "type": "address" },
98+
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
99+
{ "internalType": "address", "name": "onBehalfOf", "type": "address" }
100+
],
101+
"name": "repayETH",
102+
"outputs": [],
103+
"stateMutability": "payable",
104+
"type": "function"
105+
},
106+
{
107+
"inputs": [
108+
{ "internalType": "address", "name": "newOwner", "type": "address" }
109+
],
110+
"name": "transferOwnership",
111+
"outputs": [],
112+
"stateMutability": "nonpayable",
113+
"type": "function"
114+
},
115+
{
116+
"inputs": [
117+
{ "internalType": "address", "name": "", "type": "address" },
118+
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
119+
{ "internalType": "address", "name": "to", "type": "address" }
120+
],
121+
"name": "withdrawETH",
122+
"outputs": [],
123+
"stateMutability": "nonpayable",
124+
"type": "function"
125+
},
126+
{
127+
"inputs": [
128+
{ "internalType": "address", "name": "", "type": "address" },
129+
{ "internalType": "uint256", "name": "amount", "type": "uint256" },
130+
{ "internalType": "address", "name": "to", "type": "address" },
131+
{ "internalType": "uint256", "name": "deadline", "type": "uint256" },
132+
{ "internalType": "uint8", "name": "permitV", "type": "uint8" },
133+
{ "internalType": "bytes32", "name": "permitR", "type": "bytes32" },
134+
{ "internalType": "bytes32", "name": "permitS", "type": "bytes32" }
135+
],
136+
"name": "withdrawETHWithPermit",
137+
"outputs": [],
138+
"stateMutability": "nonpayable",
139+
"type": "function"
140+
},
141+
{ "stateMutability": "payable", "type": "receive" }
142+
]

0 commit comments

Comments
 (0)