|
3 | 3 | "inputs": [
|
4 | 4 | {
|
5 | 5 | "internalType": "address",
|
6 |
| - "name": "spender", |
| 6 | + "name": "accountNumAlias", |
7 | 7 | "type": "address"
|
8 | 8 | }
|
9 | 9 | ],
|
10 |
| - "name": "hbarAllowance", |
| 10 | + "name": "getEvmAddressAlias", |
11 | 11 | "outputs": [
|
12 | 12 | {
|
13 | 13 | "internalType": "int64",
|
14 | 14 | "name": "responseCode",
|
15 | 15 | "type": "int64"
|
16 | 16 | },
|
17 | 17 | {
|
18 |
| - "internalType": "int256", |
19 |
| - "name": "amount", |
20 |
| - "type": "int256" |
| 18 | + "internalType": "address", |
| 19 | + "name": "evmAddressAlias", |
| 20 | + "type": "address" |
| 21 | + } |
| 22 | + ], |
| 23 | + "stateMutability": "nonpayable", |
| 24 | + "type": "function" |
| 25 | + }, |
| 26 | + { |
| 27 | + "inputs": [ |
| 28 | + { |
| 29 | + "internalType": "address", |
| 30 | + "name": "evmAddressAlias", |
| 31 | + "type": "address" |
| 32 | + } |
| 33 | + ], |
| 34 | + "name": "getHederaAccountNumAlias", |
| 35 | + "outputs": [ |
| 36 | + { |
| 37 | + "internalType": "int64", |
| 38 | + "name": "responseCode", |
| 39 | + "type": "int64" |
| 40 | + }, |
| 41 | + { |
| 42 | + "internalType": "address", |
| 43 | + "name": "accountNumAlias", |
| 44 | + "type": "address" |
| 45 | + } |
| 46 | + ], |
| 47 | + "stateMutability": "nonpayable", |
| 48 | + "type": "function" |
| 49 | + }, |
| 50 | + { |
| 51 | + "inputs": [ |
| 52 | + { |
| 53 | + "internalType": "address", |
| 54 | + "name": "account", |
| 55 | + "type": "address" |
| 56 | + }, |
| 57 | + { |
| 58 | + "internalType": "bytes", |
| 59 | + "name": "message", |
| 60 | + "type": "bytes" |
| 61 | + }, |
| 62 | + { |
| 63 | + "internalType": "bytes", |
| 64 | + "name": "signature", |
| 65 | + "type": "bytes" |
| 66 | + } |
| 67 | + ], |
| 68 | + "name": "isAuthorized", |
| 69 | + "outputs": [ |
| 70 | + { |
| 71 | + "internalType": "int64", |
| 72 | + "name": "responseCode", |
| 73 | + "type": "int64" |
| 74 | + }, |
| 75 | + { |
| 76 | + "internalType": "bool", |
| 77 | + "name": "authorized", |
| 78 | + "type": "bool" |
21 | 79 | }
|
22 | 80 | ],
|
23 | 81 | "stateMutability": "nonpayable",
|
|
27 | 85 | "inputs": [
|
28 | 86 | {
|
29 | 87 | "internalType": "address",
|
30 |
| - "name": "spender", |
| 88 | + "name": "account", |
31 | 89 | "type": "address"
|
32 | 90 | },
|
33 | 91 | {
|
34 |
| - "internalType": "int256", |
35 |
| - "name": "amount", |
36 |
| - "type": "int256" |
| 92 | + "internalType": "bytes", |
| 93 | + "name": "messageHash", |
| 94 | + "type": "bytes" |
| 95 | + }, |
| 96 | + { |
| 97 | + "internalType": "bytes", |
| 98 | + "name": "signature", |
| 99 | + "type": "bytes" |
37 | 100 | }
|
38 | 101 | ],
|
39 |
| - "name": "hbarApprove", |
| 102 | + "name": "isAuthorizedRaw", |
40 | 103 | "outputs": [
|
41 | 104 | {
|
42 |
| - "internalType": "uint256", |
| 105 | + "internalType": "int64", |
43 | 106 | "name": "responseCode",
|
44 |
| - "type": "uint256" |
| 107 | + "type": "int64" |
| 108 | + }, |
| 109 | + { |
| 110 | + "internalType": "bool", |
| 111 | + "name": "authorized", |
| 112 | + "type": "bool" |
| 113 | + } |
| 114 | + ], |
| 115 | + "stateMutability": "nonpayable", |
| 116 | + "type": "function" |
| 117 | + }, |
| 118 | + { |
| 119 | + "inputs": [ |
| 120 | + { |
| 121 | + "internalType": "address", |
| 122 | + "name": "addr", |
| 123 | + "type": "address" |
| 124 | + } |
| 125 | + ], |
| 126 | + "name": "isValidAlias", |
| 127 | + "outputs": [ |
| 128 | + { |
| 129 | + "internalType": "bool", |
| 130 | + "name": "response", |
| 131 | + "type": "bool" |
45 | 132 | }
|
46 | 133 | ],
|
47 | 134 | "stateMutability": "nonpayable",
|
|
0 commit comments