281 lines
6.3 KiB
TypeScript
281 lines
6.3 KiB
TypeScript
export const REGISTRY_ABI = [
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "_treasury", type: "address" },
|
|
{ internalType: "address", name: "_forwarder", type: "address" },
|
|
{ internalType: "address", name: "_deployer", type: "address" },
|
|
],
|
|
stateMutability: "nonpayable",
|
|
type: "constructor",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "defaultFeeBps",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "DefaultFeeBpsUpdated",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "address",
|
|
name: "newDeployer",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "DeployerUpdated",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "deployer",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "version",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "controlAddress",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "MigratedProtocolControl",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "deployer",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "uint256",
|
|
name: "version",
|
|
type: "uint256",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "controlAddress",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: false,
|
|
internalType: "address",
|
|
name: "controlDeployer",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "NewProtocolControl",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "previousOwner",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "newOwner",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "OwnershipTransferred",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: true,
|
|
internalType: "address",
|
|
name: "control",
|
|
type: "address",
|
|
},
|
|
{
|
|
indexed: false,
|
|
internalType: "uint256",
|
|
name: "feeBps",
|
|
type: "uint256",
|
|
},
|
|
],
|
|
name: "ProtocolControlFeeBpsUpdated",
|
|
type: "event",
|
|
},
|
|
{
|
|
anonymous: false,
|
|
inputs: [
|
|
{
|
|
indexed: false,
|
|
internalType: "address",
|
|
name: "newTreasury",
|
|
type: "address",
|
|
},
|
|
],
|
|
name: "TreasuryUpdated",
|
|
type: "event",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "MAX_PROVIDER_FEE_BPS",
|
|
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "_deployer", type: "address" },
|
|
{ internalType: "address", name: "_protocolControl", type: "address" },
|
|
],
|
|
name: "addProtocolControl",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "defaultFeeBps",
|
|
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [{ internalType: "string", name: "uri", type: "string" }],
|
|
name: "deployProtocol",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "deployer",
|
|
outputs: [
|
|
{ internalType: "contract IControlDeployer", name: "", type: "address" },
|
|
],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "forwarder",
|
|
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "protocolControl", type: "address" },
|
|
],
|
|
name: "getFeeBps",
|
|
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "_deployer", type: "address" },
|
|
{ internalType: "uint256", name: "index", type: "uint256" },
|
|
],
|
|
name: "getProtocolControl",
|
|
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [{ internalType: "address", name: "_deployer", type: "address" }],
|
|
name: "getProtocolControlCount",
|
|
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "owner",
|
|
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "renounceOwnership",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [{ internalType: "uint256", name: "_newFeeBps", type: "uint256" }],
|
|
name: "setDefaultFeeBps",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "_newDeployer", type: "address" },
|
|
],
|
|
name: "setDeployer",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "protocolControl", type: "address" },
|
|
{ internalType: "uint256", name: "_newFeeBps", type: "uint256" },
|
|
],
|
|
name: "setProtocolControlFeeBps",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [
|
|
{ internalType: "address", name: "_newTreasury", type: "address" },
|
|
],
|
|
name: "setTreasury",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
name: "transferOwnership",
|
|
outputs: [],
|
|
stateMutability: "nonpayable",
|
|
type: "function",
|
|
},
|
|
{
|
|
inputs: [],
|
|
name: "treasury",
|
|
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
stateMutability: "view",
|
|
type: "function",
|
|
},
|
|
];
|