{"schemaVersion":"1.0.0","abiScope":"sdk-surface","contractName":"controller","key":"controller","chainId":5042002,"address":"0xFbA7618c929075728b82c69B0B2A8C8d98e4B6A3","deploymentBlock":52188614,"sourceVerified":true,"evidence":{"abiUrl":"https://testnet.arcscan.app/api/v2/smart-contracts/0xfba7618c929075728b82c69b0b2a8c8d98e4b6a3","abiSha256":"0x301a569ba72e6a5c8378b9327777958aeeb69dbcbce2179e7d44f613e560dbc8","sourceVerificationUrl":"https://testnet.arcscan.app/api/v2/smart-contracts/0xfba7618c929075728b82c69b0b2a8c8d98e4b6a3"},"abi":[{"name":"quote","type":"function","stateMutability":"pure","inputs":[{"type":"string","name":"normalizedLabel"},{"type":"uint256","name":"durationYears"}],"outputs":[{"type":"uint256"}]},{"name":"register","type":"function","stateMutability":"nonpayable","inputs":[{"type":"string","name":"normalizedLabel"},{"type":"tuple","name":"permit","components":[{"type":"uint256","name":"chainId"},{"type":"address","name":"controller"},{"type":"bytes32","name":"releaseId"},{"type":"bytes32","name":"normalizationProfileHash"},{"type":"bytes32","name":"normalizedLabelHash"},{"type":"bytes32","name":"namehash"},{"type":"address","name":"requester"},{"type":"address","name":"recipient"},{"type":"address","name":"payer"},{"type":"address","name":"authorizedExecutor"},{"type":"uint256","name":"durationYears"},{"type":"bytes32","name":"resolverDataHash"},{"type":"address","name":"referrer"},{"type":"address","name":"settlementAsset"},{"type":"uint256","name":"expectedAmount"},{"type":"uint256","name":"expectedReferralBps"},{"type":"bytes32","name":"permitId"},{"type":"uint256","name":"nonce"},{"type":"uint256","name":"issuedAt"},{"type":"uint256","name":"validAfter"},{"type":"uint256","name":"validUntil"}]},{"type":"bytes[]","name":"resolverData"},{"type":"bytes","name":"signature"}],"outputs":[{"type":"uint256","name":"tokenId"},{"type":"uint256","name":"expires"}]},{"name":"renew","type":"function","stateMutability":"nonpayable","inputs":[{"type":"string","name":"normalizedLabel"},{"type":"uint256","name":"durationYears"},{"type":"uint256","name":"expectedAmount"}],"outputs":[{"type":"uint256","name":"expires"}]},{"name":"usedPermit","type":"function","stateMutability":"view","inputs":[{"type":"bytes32","name":"permitId"}],"outputs":[{"type":"bool"}]},{"name":"nonces","type":"function","stateMutability":"view","inputs":[{"type":"address","name":"requester"}],"outputs":[{"type":"uint256"}]},{"name":"registrationsPaused","type":"function","stateMutability":"view","inputs":[],"outputs":[{"type":"bool"}]},{"name":"referralBps","type":"function","stateMutability":"view","inputs":[],"outputs":[{"type":"uint16"}]},{"name":"referralCredits","type":"function","stateMutability":"view","inputs":[{"type":"address","name":"referrer"}],"outputs":[{"type":"uint256"}]},{"name":"claimReferral","type":"function","stateMutability":"nonpayable","inputs":[],"outputs":[{"type":"uint256"}]},{"name":"hashPermit","type":"function","stateMutability":"view","inputs":[{"type":"tuple","name":"permit","components":[{"type":"uint256","name":"chainId"},{"type":"address","name":"controller"},{"type":"bytes32","name":"releaseId"},{"type":"bytes32","name":"normalizationProfileHash"},{"type":"bytes32","name":"normalizedLabelHash"},{"type":"bytes32","name":"namehash"},{"type":"address","name":"requester"},{"type":"address","name":"recipient"},{"type":"address","name":"payer"},{"type":"address","name":"authorizedExecutor"},{"type":"uint256","name":"durationYears"},{"type":"bytes32","name":"resolverDataHash"},{"type":"address","name":"referrer"},{"type":"address","name":"settlementAsset"},{"type":"uint256","name":"expectedAmount"},{"type":"uint256","name":"expectedReferralBps"},{"type":"bytes32","name":"permitId"},{"type":"uint256","name":"nonce"},{"type":"uint256","name":"issuedAt"},{"type":"uint256","name":"validAfter"},{"type":"uint256","name":"validUntil"}]}],"outputs":[{"type":"bytes32"}]},{"name":"NameRegistered","type":"event","inputs":[{"type":"string","name":"name"},{"type":"bytes32","name":"label","indexed":true},{"type":"address","name":"owner","indexed":true},{"type":"uint256","name":"baseCost"},{"type":"uint256","name":"premium"},{"type":"uint256","name":"expires"}]},{"name":"NameRenewed","type":"event","inputs":[{"type":"string","name":"name"},{"type":"bytes32","name":"label","indexed":true},{"type":"uint256","name":"cost"},{"type":"uint256","name":"expires"}]},{"name":"PermitConsumed","type":"event","inputs":[{"type":"bytes32","name":"permitId","indexed":true},{"type":"address","name":"requester","indexed":true},{"type":"uint256","name":"nonce","indexed":true}]},{"name":"ReferralAccrued","type":"event","inputs":[{"type":"address","name":"referrer","indexed":true},{"type":"uint256","name":"amount"}]},{"name":"ReferralClaimed","type":"event","inputs":[{"type":"address","name":"referrer","indexed":true},{"type":"uint256","name":"amount"}]}]}