Static
Readonly
abi
abi: readonly [{
inputs: readonly [{
internalType: "address";
name: "defaultOwner";
type: "address";
}];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "DoesNotExist";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "expected";
type: "address";
}, {
internalType: "address";
name: "provided";
type: "address";
}];
name: "IncorrectAddress";
type: "error";
}, {
inputs: readonly [];
name: "ZeroAddress";
type: "error";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "address";
name: "template_address";
type: "address";
}, {
indexed: false;
internalType: "string";
name: "version";
type: "string";
}];
name: "ModifyTemplate";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "address";
name: "cci_address";
type: "address";
}, {
indexed: false;
internalType: "string";
name: "version";
type: "string";
}];
name: "ModifyWhitelistedCCI";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "address";
name: "factory_address";
type: "address";
}, {
indexed: false;
internalType: "string";
name: "version";
type: "string";
}];
name: "ModifyWhitelistedFactory";
type: "event";
}, {
inputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
name: "cci_versions";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
name: "factory_versions";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getNumVaultFactories";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getNumWhitelistedCcis";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getNumWhitelistedTemplates";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getWhitelistedCCI";
outputs: readonly [{
components: readonly [{
internalType: "address";
name: "addr";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
internalType: "struct CatalystDescriber.AddressAndVersion[]";
name: "whitelistedCCI";
type: "tuple[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getWhitelistedFactories";
outputs: readonly [{
components: readonly [{
internalType: "address";
name: "addr";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
internalType: "struct CatalystDescriber.AddressAndVersion[]";
name: "vaultFactories";
type: "tuple[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getWhitelistedTemplates";
outputs: readonly [{
components: readonly [{
internalType: "address";
name: "addr";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
internalType: "struct CatalystDescriber.AddressAndVersion[]";
name: "whitelistedTemplates";
type: "tuple[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "vault";
type: "address";
}];
name: "get_factory_of_vault";
outputs: readonly [{
internalType: "address";
name: "factory";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "get_num_vault_factories";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "get_num_whitelisted_ccis";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "get_num_whitelisted_templates";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "get_vault_factories";
outputs: readonly [{
internalType: "address[]";
name: "vaultFactories";
type: "address[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "vault";
type: "address";
}];
name: "get_vault_mathematical_lib";
outputs: readonly [{
internalType: "address";
name: "math_lib";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "vault";
type: "address";
}];
name: "get_vault_prices";
outputs: readonly [{
internalType: "uint256[]";
name: "quotes";
type: "uint256[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "vault";
type: "address";
}];
name: "get_vault_tokens";
outputs: readonly [{
internalType: "address[]";
name: "vaultTokens";
type: "address[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "get_whitelisted_CCI";
outputs: readonly [{
components: readonly [{
internalType: "address";
name: "addr";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
internalType: "struct CatalystDescriber.AddressAndVersion[]";
name: "whitelistedCCI";
type: "tuple[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "get_whitelisted_templates";
outputs: readonly [{
internalType: "address[]";
name: "whitelistedTemplates";
type: "address[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "initBlock";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "latestRouter";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "cci_address";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
name: "modifyWhitelistedCCI";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "factory_address";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
name: "modifyWhitelistedFactory";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "template_address";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
name: "modifyWhitelistedTemplate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "owner";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "cci_to_remove";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
name: "removeWhitelistedCCI";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "factory_to_remove";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
name: "removeWhitelistedFactory";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "template_to_remove";
type: "address";
}, {
internalType: "string";
name: "version";
type: "string";
}];
name: "removeWhitelistedTemplate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "renounceOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "newRouter";
type: "address";
}];
name: "set_latest_router";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
name: "template_versions";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "newOwner";
type: "address";
}];
name: "transferOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
name: "version_to_cci";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
name: "version_to_factory";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
name: "version_to_template";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}] = _abi