Authorize a new key for the caller’s account with T3 extensions.
@param keyId The key identifier (address derived from public key)
@param signatureType 0: secp256k1, 1: P256, 2: WebAuthn
@param config Access-key expiry and optional limits / call restrictions
Function with signature authorizeKey(address,uint8,(uint64,bool,(address,uint256,uint64)[],bool,(address,(bytes4,address[])[])[])) and selector 0x980a6025.
Returns whether an account key is call-scoped and, if so, the configured call scopes.
@dev isScoped = false means unrestricted. isScoped = true && scopes.length == 0
means scoped deny-all.
@dev Missing, revoked, or expired access keys also return scoped deny-all so callers do
not observe stale persisted scope state.
Container type for the return parameters of the getAllowedCalls(address,address) function.
Get remaining spending limit together with the active period end.
@param account The account address
@param publicKey The public key
@param token The token address
@return remaining Remaining spending amount
@return periodEnd Period end timestamp for periodic limits (0 for one-time)
Container type for the return parameters of the getRemainingLimitWithPeriod(address,address,address) function.
Get remaining spending limit together with the active period end.
@param account The account address
@param publicKey The public key
@param token The token address
@return remaining Remaining spending amount
@return periodEnd Period end timestamp for periodic limits (0 for one-time)
Function with signature getRemainingLimitWithPeriod(address,address,address) and selector 0xa7f72cab.
Legacy authorize-key entrypoint used before T3.
Function with signature authorizeKey(address,uint8,uint64,bool,(address,uint256)[]) and selector 0x54063a55.