|
| 1 | +[ |
| 2 | + { |
| 3 | + "inputs": [ |
| 4 | + { |
| 5 | + "internalType": "address payable", |
| 6 | + "name": "_donationAddress", |
| 7 | + "type": "address" |
| 8 | + }, |
| 9 | + { |
| 10 | + "internalType": "contract EthPriceOracle", |
| 11 | + "name": "_oracle", |
| 12 | + "type": "address" |
| 13 | + } |
| 14 | + ], |
| 15 | + "stateMutability": "nonpayable", |
| 16 | + "type": "constructor" |
| 17 | + }, |
| 18 | + { |
| 19 | + "anonymous": false, |
| 20 | + "inputs": [ |
| 21 | + { |
| 22 | + "indexed": true, |
| 23 | + "internalType": "bytes32", |
| 24 | + "name": "_hash", |
| 25 | + "type": "bytes32" |
| 26 | + }, |
| 27 | + { |
| 28 | + "indexed": true, |
| 29 | + "internalType": "address", |
| 30 | + "name": "_from", |
| 31 | + "type": "address" |
| 32 | + }, |
| 33 | + { |
| 34 | + "indexed": false, |
| 35 | + "internalType": "uint256", |
| 36 | + "name": "_burnAmount", |
| 37 | + "type": "uint256" |
| 38 | + }, |
| 39 | + { |
| 40 | + "indexed": false, |
| 41 | + "internalType": "uint256", |
| 42 | + "name": "_burnUsdValue", |
| 43 | + "type": "uint256" |
| 44 | + } |
| 45 | + ], |
| 46 | + "name": "HashBurn", |
| 47 | + "type": "event" |
| 48 | + }, |
| 49 | + { |
| 50 | + "anonymous": false, |
| 51 | + "inputs": [ |
| 52 | + { |
| 53 | + "indexed": true, |
| 54 | + "internalType": "bytes32", |
| 55 | + "name": "_hash", |
| 56 | + "type": "bytes32" |
| 57 | + }, |
| 58 | + { |
| 59 | + "indexed": true, |
| 60 | + "internalType": "address", |
| 61 | + "name": "_from", |
| 62 | + "type": "address" |
| 63 | + }, |
| 64 | + { |
| 65 | + "indexed": false, |
| 66 | + "internalType": "uint256", |
| 67 | + "name": "_tipAmount", |
| 68 | + "type": "uint256" |
| 69 | + }, |
| 70 | + { |
| 71 | + "indexed": false, |
| 72 | + "internalType": "uint256", |
| 73 | + "name": "_tipUsdValue", |
| 74 | + "type": "uint256" |
| 75 | + } |
| 76 | + ], |
| 77 | + "name": "HashTip", |
| 78 | + "type": "event" |
| 79 | + }, |
| 80 | + { |
| 81 | + "anonymous": false, |
| 82 | + "inputs": [ |
| 83 | + { |
| 84 | + "indexed": true, |
| 85 | + "internalType": "bytes32", |
| 86 | + "name": "_hash", |
| 87 | + "type": "bytes32" |
| 88 | + }, |
| 89 | + { |
| 90 | + "indexed": true, |
| 91 | + "internalType": "address", |
| 92 | + "name": "_from", |
| 93 | + "type": "address" |
| 94 | + }, |
| 95 | + { |
| 96 | + "indexed": false, |
| 97 | + "internalType": "uint256", |
| 98 | + "name": "_burnAmount", |
| 99 | + "type": "uint256" |
| 100 | + }, |
| 101 | + { |
| 102 | + "indexed": false, |
| 103 | + "internalType": "uint256", |
| 104 | + "name": "_burnUsdValue", |
| 105 | + "type": "uint256" |
| 106 | + }, |
| 107 | + { |
| 108 | + "indexed": false, |
| 109 | + "internalType": "string", |
| 110 | + "name": "_message", |
| 111 | + "type": "string" |
| 112 | + } |
| 113 | + ], |
| 114 | + "name": "MessageBurn", |
| 115 | + "type": "event" |
| 116 | + }, |
| 117 | + { |
| 118 | + "inputs": [], |
| 119 | + "name": "oracle", |
| 120 | + "outputs": [ |
| 121 | + { |
| 122 | + "internalType": "contract EthPriceOracle", |
| 123 | + "name": "", |
| 124 | + "type": "address" |
| 125 | + } |
| 126 | + ], |
| 127 | + "stateMutability": "view", |
| 128 | + "type": "function" |
| 129 | + }, |
| 130 | + { |
| 131 | + "inputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], |
| 132 | + "name": "storedMessageData", |
| 133 | + "outputs": [ |
| 134 | + { "internalType": "address", "name": "firstAuthor", "type": "address" }, |
| 135 | + { "internalType": "uint256", "name": "nativeBurned", "type": "uint256" }, |
| 136 | + { "internalType": "uint256", "name": "dollarsBurned", "type": "uint256" }, |
| 137 | + { "internalType": "uint256", "name": "nativeTipped", "type": "uint256" }, |
| 138 | + { "internalType": "uint256", "name": "dollarsTipped", "type": "uint256" } |
| 139 | + ], |
| 140 | + "stateMutability": "view", |
| 141 | + "type": "function" |
| 142 | + }, |
| 143 | + { |
| 144 | + "inputs": [], |
| 145 | + "name": "EthPrice", |
| 146 | + "outputs": [ |
| 147 | + { "internalType": "uint256", "name": "_price", "type": "uint256" } |
| 148 | + ], |
| 149 | + "stateMutability": "view", |
| 150 | + "type": "function" |
| 151 | + }, |
| 152 | + { |
| 153 | + "inputs": [ |
| 154 | + { "internalType": "string", "name": "_message", "type": "string" }, |
| 155 | + { "internalType": "uint256", "name": "donateAmount", "type": "uint256" } |
| 156 | + ], |
| 157 | + "name": "burnMessage", |
| 158 | + "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], |
| 159 | + "stateMutability": "payable", |
| 160 | + "type": "function" |
| 161 | + }, |
| 162 | + { |
| 163 | + "inputs": [ |
| 164 | + { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }, |
| 165 | + { "internalType": "uint256", "name": "donateAmount", "type": "uint256" } |
| 166 | + ], |
| 167 | + "name": "burnHash", |
| 168 | + "outputs": [], |
| 169 | + "stateMutability": "payable", |
| 170 | + "type": "function" |
| 171 | + }, |
| 172 | + { |
| 173 | + "inputs": [ |
| 174 | + { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }, |
| 175 | + { "internalType": "uint256", "name": "donateAmount", "type": "uint256" } |
| 176 | + ], |
| 177 | + "name": "tipHashOrBurnIfNoAuthor", |
| 178 | + "outputs": [], |
| 179 | + "stateMutability": "payable", |
| 180 | + "type": "function" |
| 181 | + } |
| 182 | +] |
0 commit comments