1[2 {3 "anonymous": false,4 "inputs": [5 {6 "indexed": true,7 "internalType": "address",8 "name": "contractAddress",9 "type": "address"10 }11 ],12 "name": "ContractSponsorRemoved",13 "type": "event"14 },15 {16 "anonymous": false,17 "inputs": [18 {19 "indexed": true,20 "internalType": "address",21 "name": "contractAddress",22 "type": "address"23 },24 {25 "indexed": false,26 "internalType": "address",27 "name": "sponsor",28 "type": "address"29 }30 ],31 "name": "ContractSponsorSet",32 "type": "event"33 },34 {35 "anonymous": false,36 "inputs": [37 {38 "indexed": true,39 "internalType": "address",40 "name": "contractAddress",41 "type": "address"42 },43 {44 "indexed": false,45 "internalType": "address",46 "name": "sponsor",47 "type": "address"48 }49 ],50 "name": "ContractSponsorshipConfirmed",51 "type": "event"52 },53 {54 "inputs": [55 {56 "internalType": "address",57 "name": "contractAddress",58 "type": "address"59 },60 { "internalType": "address", "name": "user", "type": "address" }61 ],62 "name": "allowed",63 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],64 "stateMutability": "view",65 "type": "function"66 },67 {68 "inputs": [69 {70 "internalType": "address",71 "name": "contractAddress",72 "type": "address"73 }74 ],75 "name": "allowlistEnabled",76 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],77 "stateMutability": "view",78 "type": "function"79 },80 {81 "inputs": [82 {83 "internalType": "address",84 "name": "contractAddress",85 "type": "address"86 }87 ],88 "name": "confirmSponsorship",89 "outputs": [],90 "stateMutability": "nonpayable",91 "type": "function"92 },93 {94 "inputs": [95 {96 "internalType": "address",97 "name": "contractAddress",98 "type": "address"99 }100 ],101 "name": "contractOwner",102 "outputs": [{ "internalType": "address", "name": "", "type": "address" }],103 "stateMutability": "view",104 "type": "function"105 },106 {107 "inputs": [108 {109 "internalType": "address",110 "name": "contractAddress",111 "type": "address"112 }113 ],114 "name": "hasPendingSponsor",115 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],116 "stateMutability": "view",117 "type": "function"118 },119 {120 "inputs": [121 {122 "internalType": "address",123 "name": "contractAddress",124 "type": "address"125 }126 ],127 "name": "hasSponsor",128 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],129 "stateMutability": "view",130 "type": "function"131 },132 {133 "inputs": [134 {135 "internalType": "address",136 "name": "contractAddress",137 "type": "address"138 }139 ],140 "name": "removeSponsor",141 "outputs": [],142 "stateMutability": "nonpayable",143 "type": "function"144 },145 {146 "inputs": [147 {148 "internalType": "address",149 "name": "contractAddress",150 "type": "address"151 }152 ],153 "name": "selfSponsoredEnable",154 "outputs": [],155 "stateMutability": "nonpayable",156 "type": "function"157 },158 {159 "inputs": [160 {161 "internalType": "address",162 "name": "contractAddress",163 "type": "address"164 },165 { "internalType": "address", "name": "sponsor", "type": "address" }166 ],167 "name": "setSponsor",168 "outputs": [],169 "stateMutability": "nonpayable",170 "type": "function"171 },172 {173 "inputs": [174 {175 "internalType": "address",176 "name": "contractAddress",177 "type": "address"178 },179 { "internalType": "uint256", "name": "feeLimit", "type": "uint256" }180 ],181 "name": "setSponsoringFeeLimit",182 "outputs": [],183 "stateMutability": "nonpayable",184 "type": "function"185 },186 {187 "inputs": [188 {189 "internalType": "address",190 "name": "contractAddress",191 "type": "address"192 },193 { "internalType": "uint8", "name": "mode", "type": "uint8" }194 ],195 "name": "setSponsoringMode",196 "outputs": [],197 "stateMutability": "nonpayable",198 "type": "function"199 },200 {201 "inputs": [202 {203 "internalType": "address",204 "name": "contractAddress",205 "type": "address"206 },207 { "internalType": "uint32", "name": "rateLimit", "type": "uint32" }208 ],209 "name": "setSponsoringRateLimit",210 "outputs": [],211 "stateMutability": "nonpayable",212 "type": "function"213 },214 {215 "inputs": [216 {217 "internalType": "address",218 "name": "contractAddress",219 "type": "address"220 }221 ],222 "name": "sponsor",223 "outputs": [224 {225 "components": [226 { "internalType": "bool", "name": "status", "type": "bool" },227 {228 "components": [229 { "internalType": "address", "name": "eth", "type": "address" },230 { "internalType": "uint256", "name": "sub", "type": "uint256" }231 ],232 "internalType": "struct CrossAddress",233 "name": "value",234 "type": "tuple"235 }236 ],237 "internalType": "struct OptionCrossAddress",238 "name": "",239 "type": "tuple"240 }241 ],242 "stateMutability": "view",243 "type": "function"244 },245 {246 "inputs": [247 {248 "internalType": "address",249 "name": "contractAddress",250 "type": "address"251 }252 ],253 "name": "sponsoringEnabled",254 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],255 "stateMutability": "view",256 "type": "function"257 },258 {259 "inputs": [260 {261 "internalType": "address",262 "name": "contractAddress",263 "type": "address"264 }265 ],266 "name": "sponsoringFeeLimit",267 "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],268 "stateMutability": "view",269 "type": "function"270 },271 {272 "inputs": [273 {274 "internalType": "address",275 "name": "contractAddress",276 "type": "address"277 }278 ],279 "name": "sponsoringRateLimit",280 "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }],281 "stateMutability": "view",282 "type": "function"283 },284 {285 "inputs": [286 { "internalType": "bytes4", "name": "interfaceID", "type": "bytes4" }287 ],288 "name": "supportsInterface",289 "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],290 "stateMutability": "view",291 "type": "function"292 },293 {294 "inputs": [295 {296 "internalType": "address",297 "name": "contractAddress",298 "type": "address"299 },300 { "internalType": "address", "name": "user", "type": "address" },301 { "internalType": "bool", "name": "isAllowed", "type": "bool" }302 ],303 "name": "toggleAllowed",304 "outputs": [],305 "stateMutability": "nonpayable",306 "type": "function"307 },308 {309 "inputs": [310 {311 "internalType": "address",312 "name": "contractAddress",313 "type": "address"314 },315 { "internalType": "bool", "name": "enabled", "type": "bool" }316 ],317 "name": "toggleAllowlist",318 "outputs": [],319 "stateMutability": "nonpayable",320 "type": "function"321 }322]