LiquidatorFactory
Last updated
Last updated
\
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
\
createInstance
Deploys a new instance proxying the default implementation version, with some initialization arguments. Uses a nonce and `msg.sender` as a salt for the CREATE2 opcode during instantiation to produce deterministic addresses.
\
defaultImplementation
The address of an implementation for proxies.
\
defaultVersion
The default version.
\
disableUpgradePath
Disables upgrading from a version to a version of a implementation. Only the Governor can call this function.
\
enableUpgradePath
Enables upgrading from a version to a version of an implementation, with an optional migrator. Only the Governor can call this function.
\
getInstanceAddress
Returns the deterministic address of a potential proxy, given some arguments and salt.
\
implementationOf
Returns the address of an implementation version.
\
isInstance
Returns if a given address has been deployed by this factory/
\
mapleGlobals
The address of the MapleGlobals contract.
\
migratorForPath
Returns the address of a migrator contract for a migration path (from version, to version). If oldVersion_ == newVersion_, the migrator is an initializer.
\
registerImplementation
Registers the address of an implementation contract as a version, with an optional initializer. Only the Governor can call this function.
\
setDefaultVersion
Sets the default version. Only the Governor can call this function.
\
setGlobals
Sets the Maple Globals contract. Only the Governor can call this function.
\
upgradeEnabledForPath
Whether the upgrade is enabled for a path from a version to another version.
\
upgradeInstance
Upgrades the calling proxy contract's implementation, with some migration arguments.
\
versionOf
Returns the version of an implementation contract.
\
DefaultVersionSet
A default version was set.
\
ImplementationRegistered
A version of an implementation, at some address, was registered, with an optional initializer.
\
InstanceDeployed
A proxy contract was deployed with some initialization arguments.
\
InstanceUpgraded
A instance has upgraded by proxying to a new implementation, with some migration arguments.
\
MapleGlobalsSet
The MapleGlobals was set.
\
UpgradePathDisabled
An upgrade path was disabled, with an optional migrator contract.
\
UpgradePathEnabled
An upgrade path was enabled, with an optional migrator contract.
\
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|
Index | Name | Type | Internal Type | Description |
---|---|---|---|---|