1[2 {3 "anonymous": false,4 "inputs": [5 {6 "indexed": true,7 "internalType": "address",8 "name": "owner",9 "type": "address"10 },11 {12 "indexed": true,13 "internalType": "address",14 "name": "spender",15 "type": "address"16 },17 {18 "indexed": false,19 "internalType": "uint256",20 "name": "value",21 "type": "uint256"22 }23 ],24 "name": "Approval",25 "type": "event"26 },27 {28 "anonymous": false,29 "inputs": [30 {31 "indexed": true,32 "internalType": "address",33 "name": "from",34 "type": "address"35 },36 {37 "indexed": true,38 "internalType": "address",39 "name": "to",40 "type": "address"41 },42 {43 "indexed": false,44 "internalType": "uint256",45 "name": "value",46 "type": "uint256"47 }48 ],49 "name": "Transfer",50 "type": "event"51 },52 {53 "inputs": [54 { "internalType": "address", "name": "owner", "type": "address" },55 { "internalType": "address", "name": "spender", "type": "address" }56 ],57 "name": "allowance",58 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],59 "stateMutability": "view",60 "type": "function"61 },62 {63 "inputs": [64 {65 "components": [66 { "internalType": "address", "name": "eth", "type": "address" },67 { "internalType": "uint256", "name": "sub", "type": "uint256" }68 ],69 "internalType": "struct CrossAddress",70 "name": "owner",71 "type": "tuple"72 },73 {74 "components": [75 { "internalType": "address", "name": "eth", "type": "address" },76 { "internalType": "uint256", "name": "sub", "type": "uint256" }77 ],78 "internalType": "struct CrossAddress",79 "name": "spender",80 "type": "tuple"81 }82 ],83 "name": "allowanceCross",84 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],85 "stateMutability": "view",86 "type": "function"87 },88 {89 "inputs": [90 { "internalType": "address", "name": "spender", "type": "address" },91 { "internalType": "uint256", "name": "amount", "type": "uint256" }92 ],93 "name": "approve",94 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],95 "stateMutability": "nonpayable",96 "type": "function"97 },98 {99 "inputs": [100 {101 "components": [102 { "internalType": "address", "name": "eth", "type": "address" },103 { "internalType": "uint256", "name": "sub", "type": "uint256" }104 ],105 "internalType": "struct CrossAddress",106 "name": "spender",107 "type": "tuple"108 },109 { "internalType": "uint256", "name": "amount", "type": "uint256" }110 ],111 "name": "approveCross",112 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],113 "stateMutability": "nonpayable",114 "type": "function"115 },116 {117 "inputs": [118 { "internalType": "address", "name": "owner", "type": "address" }119 ],120 "name": "balanceOf",121 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],122 "stateMutability": "view",123 "type": "function"124 },125 {126 "inputs": [127 {128 "components": [129 { "internalType": "address", "name": "eth", "type": "address" },130 { "internalType": "uint256", "name": "sub", "type": "uint256" }131 ],132 "internalType": "struct CrossAddress",133 "name": "from",134 "type": "tuple"135 },136 { "internalType": "uint256", "name": "amount", "type": "uint256" }137 ],138 "name": "burnFromCross",139 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],140 "stateMutability": "nonpayable",141 "type": "function"142 },143 {144 "inputs": [],145 "name": "decimals",146 "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],147 "stateMutability": "view",148 "type": "function"149 },150 {151 "inputs": [],152 "name": "name",153 "outputs": [{ "internalType": "string", "name": "", "type": "string" }],154 "stateMutability": "view",155 "type": "function"156 },157 {158 "inputs": [],159 "name": "parentToken",160 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],161 "stateMutability": "view",162 "type": "function"163 },164 {165 "inputs": [],166 "name": "parentTokenId",167 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],168 "stateMutability": "view",169 "type": "function"170 },171 {172 "inputs": [173 { "internalType": "uint256", "name": "amount", "type": "uint256" }174 ],175 "name": "repartition",176 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],177 "stateMutability": "nonpayable",178 "type": "function"179 },180 {181 "inputs": [182 { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }183 ],184 "name": "supportsInterface",185 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],186 "stateMutability": "view",187 "type": "function"188 },189 {190 "inputs": [],191 "name": "symbol",192 "outputs": [{ "internalType": "string", "name": "", "type": "string" }],193 "stateMutability": "view",194 "type": "function"195 },196 {197 "inputs": [],198 "name": "totalSupply",199 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],200 "stateMutability": "view",201 "type": "function"202 },203 {204 "inputs": [205 { "internalType": "address", "name": "to", "type": "address" },206 { "internalType": "uint256", "name": "amount", "type": "uint256" }207 ],208 "name": "transfer",209 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],210 "stateMutability": "nonpayable",211 "type": "function"212 },213 {214 "inputs": [215 {216 "components": [217 { "internalType": "address", "name": "eth", "type": "address" },218 { "internalType": "uint256", "name": "sub", "type": "uint256" }219 ],220 "internalType": "struct CrossAddress",221 "name": "to",222 "type": "tuple"223 },224 { "internalType": "uint256", "name": "amount", "type": "uint256" }225 ],226 "name": "transferCross",227 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],228 "stateMutability": "nonpayable",229 "type": "function"230 },231 {232 "inputs": [233 { "internalType": "address", "name": "from", "type": "address" },234 { "internalType": "address", "name": "to", "type": "address" },235 { "internalType": "uint256", "name": "amount", "type": "uint256" }236 ],237 "name": "transferFrom",238 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],239 "stateMutability": "nonpayable",240 "type": "function"241 },242 {243 "inputs": [244 {245 "components": [246 { "internalType": "address", "name": "eth", "type": "address" },247 { "internalType": "uint256", "name": "sub", "type": "uint256" }248 ],249 "internalType": "struct CrossAddress",250 "name": "from",251 "type": "tuple"252 },253 {254 "components": [255 { "internalType": "address", "name": "eth", "type": "address" },256 { "internalType": "uint256", "name": "sub", "type": "uint256" }257 ],258 "internalType": "struct CrossAddress",259 "name": "to",260 "type": "tuple"261 },262 { "internalType": "uint256", "name": "amount", "type": "uint256" }263 ],264 "name": "transferFromCross",265 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],266 "stateMutability": "nonpayable",267 "type": "function"268 }269]