@coinbase/agentkit
Version:
Coinbase AgentKit core primitives
53 lines (52 loc) • 1.93 kB
TypeScript
export declare const BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_MAINNET = "0x4cCb0BB02FCABA27e82a56646E81d8c5bC4119a5";
export declare const BASENAMES_REGISTRAR_CONTROLLER_ADDRESS_TESTNET = "0x49aE3cC2e3AA768B1e5654f5D3C6002144A59581";
export declare const L2_RESOLVER_ADDRESS_MAINNET = "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD";
export declare const L2_RESOLVER_ADDRESS_TESTNET = "0x6533C94869D28fAA8dF77cc63f9e2b2D6Cf77eBA";
export declare const REGISTRATION_DURATION = 31557600n;
export declare const L2_RESOLVER_ABI: {
inputs: {
internalType: string;
name: string;
type: string;
}[];
name: string;
outputs: never[];
stateMutability: string;
type: string;
}[];
export declare const REGISTRAR_ABI: readonly [{
readonly inputs: readonly [{
readonly components: readonly [{
readonly internalType: "string";
readonly name: "name";
readonly type: "string";
}, {
readonly internalType: "address";
readonly name: "owner";
readonly type: "address";
}, {
readonly internalType: "uint256";
readonly name: "duration";
readonly type: "uint256";
}, {
readonly internalType: "address";
readonly name: "resolver";
readonly type: "address";
}, {
readonly internalType: "bytes[]";
readonly name: "data";
readonly type: "bytes[]";
}, {
readonly internalType: "bool";
readonly name: "reverseRecord";
readonly type: "bool";
}];
readonly internalType: "struct RegistrarController.RegisterRequest";
readonly name: "request";
readonly type: "tuple";
}];
readonly name: "register";
readonly outputs: readonly [];
readonly stateMutability: "payable";
readonly type: "function";
}];