diff --git a/for-developers/abis/84531-andromeda-FakeCollateralfUSDC.json b/for-developers/abis/84531-andromeda-FakeCollateralfUSDC.json new file mode 100644 index 0000000..fd7d06a --- /dev/null +++ b/for-developers/abis/84531-andromeda-FakeCollateralfUSDC.json @@ -0,0 +1,374 @@ +{ + "address": "0x4967d1987930b2CD183dAB4B6C40B8745DD2eba1", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "symbol", + "type": "string" + }, + { + "internalType": "uint256", + "name": "initialSupply", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "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": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "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": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "constructorArgs": ["Fake USD Coin", "fUSDC", "0"], + "linkedLibraries": {}, + "deployTxnHash": "0xff358e4d0ffc0863978b52d52c0e354957d664dc6f7751860adedaf12739a170", + "sourceName": "src/MintableToken.sol", + "contractName": "MintableToken", + "deployedOn": "contract.MintableToken", + "gasUsed": 763702, + "gasCost": "1500000254" +} diff --git a/for-developers/abis/84531-andromeda-OracleManager.json b/for-developers/abis/84531-andromeda-OracleManager.json index 319547c..9f45fea 100644 --- a/for-developers/abis/84531-andromeda-OracleManager.json +++ b/for-developers/abis/84531-andromeda-OracleManager.json @@ -1,5 +1,5 @@ { - "address": "0xEC618B8994B76d89EfCD7051BA2D57Dcb6442E95", + "address": "0x439e6cbAaF61C63f406687907022960088801EC0", "abi": [ { "inputs": [ diff --git a/for-developers/abis/84531-andromeda-PerpsAccountNFT.json b/for-developers/abis/84531-andromeda-PerpsAccountNFT.json index c3bda35..3878082 100644 --- a/for-developers/abis/84531-andromeda-PerpsAccountNFT.json +++ b/for-developers/abis/84531-andromeda-PerpsAccountNFT.json @@ -1,5 +1,5 @@ { - "address": "0xfBD08C515DedDa6DbE59611b4bAC2E0f4a250301", + "address": "0xD8FD25C1A4d90244699f5Eb1966dB07FbDE9dcFa", "abi": [ { "inputs": [ diff --git a/for-developers/abis/84531-andromeda-PerpsMarket.json b/for-developers/abis/84531-andromeda-PerpsMarket.json index c2a7246..c01654b 100644 --- a/for-developers/abis/84531-andromeda-PerpsMarket.json +++ b/for-developers/abis/84531-andromeda-PerpsMarket.json @@ -1,5 +1,5 @@ { - "address": "0xEED61f0CB02f3B38923b1b6EAa939D5f04f431b6", + "address": "0x75c43165ea38cB857C45216a37C5405A7656673c", "abi": [ { "inputs": [ @@ -3145,11 +3145,6 @@ "name": "feedId", "type": "bytes32" }, - { - "internalType": "string", - "name": "url", - "type": "string" - }, { "internalType": "uint256", "name": "settlementReward", @@ -3218,11 +3213,6 @@ "name": "feedId", "type": "bytes32" }, - { - "internalType": "string", - "name": "url", - "type": "string" - }, { "internalType": "uint256", "name": "settlementReward", @@ -3277,11 +3267,6 @@ "name": "feedId", "type": "bytes32" }, - { - "internalType": "string", - "name": "url", - "type": "string" - }, { "internalType": "uint256", "name": "settlementReward", @@ -3534,11 +3519,6 @@ "name": "feedId", "type": "bytes32" }, - { - "internalType": "string", - "name": "url", - "type": "string" - }, { "internalType": "uint256", "name": "settlementReward", @@ -3750,11 +3730,6 @@ "name": "feedId", "type": "bytes32" }, - { - "internalType": "string", - "name": "url", - "type": "string" - }, { "internalType": "uint256", "name": "settlementReward", diff --git a/for-developers/abis/84531-andromeda-SpotMarket.json b/for-developers/abis/84531-andromeda-SpotMarket.json index ce3c3da..f227b49 100644 --- a/for-developers/abis/84531-andromeda-SpotMarket.json +++ b/for-developers/abis/84531-andromeda-SpotMarket.json @@ -1,5 +1,5 @@ { - "address": "0x41A883a85b1AdE59F41d459Fa550b40fa56429DB", + "address": "0x26f3EcFa0Aa924649cfd4b74C57637e910A983a4", "abi": [ { "inputs": [ diff --git a/for-developers/abis/84531-andromeda-SynthetixCore.json b/for-developers/abis/84531-andromeda-SynthetixCore.json index 0c34555..b73490a 100644 --- a/for-developers/abis/84531-andromeda-SynthetixCore.json +++ b/for-developers/abis/84531-andromeda-SynthetixCore.json @@ -1,5 +1,5 @@ { - "address": "0xd7cFdcf6499896a1E15Db92629AAC8085af8B2ac", + "address": "0xF4Df9Dd327Fd30695d478c3c8a2fffAddcdD0d31", "abi": [ { "inputs": [ diff --git a/for-developers/abis/84531-andromeda-snxAccountNFT.json b/for-developers/abis/84531-andromeda-snxAccountNFT.json index 25038da..febf5aa 100644 --- a/for-developers/abis/84531-andromeda-snxAccountNFT.json +++ b/for-developers/abis/84531-andromeda-snxAccountNFT.json @@ -1,5 +1,5 @@ { - "address": "0x09190c9Be3e79dF2Cb5DAEA6320f9A1129aD8e8c", + "address": "0xa88694d0025dd96194D1B0237fDEbf7D1D34B02F", "abi": [ { "inputs": [ diff --git a/for-developers/abis/84531-andromeda-snxUSDToken.json b/for-developers/abis/84531-andromeda-snxUSDToken.json index c3236db..901eeb4 100644 --- a/for-developers/abis/84531-andromeda-snxUSDToken.json +++ b/for-developers/abis/84531-andromeda-snxUSDToken.json @@ -1,5 +1,5 @@ { - "address": "0xC9ee9628f23b14483EA413C28712690E8D2dC6a3", + "address": "0xa89163A087fe38022690C313b5D4BBF12574637f", "abi": [ { "inputs": [ diff --git a/for-developers/addresses-+-abis.md b/for-developers/addresses-+-abis.md index e1405d3..5e3c051 100644 --- a/for-developers/addresses-+-abis.md +++ b/for-developers/addresses-+-abis.md @@ -130,14 +130,14 @@ Chain ID: 84531 Chain ID: 84531 -| System | Address | ABI | -| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | -| Synthetix Core | [0xd7cFdcf6499896a1E15Db92629AAC8085af8B2ac](https://goerli.basescan.org/address/0xd7cFdcf6499896a1E15Db92629AAC8085af8B2ac) | [View/Download](./abis/84531-andromeda-SynthetixCore.json) | -| snxAccount NFT | [0x09190c9Be3e79dF2Cb5DAEA6320f9A1129aD8e8c](https://goerli.basescan.org/address/0x09190c9Be3e79dF2Cb5DAEA6320f9A1129aD8e8c) | [View/Download](./abis/84531-andromeda-snxAccountNFT.json) | -| snxUSD Token | [0xC9ee9628f23b14483EA413C28712690E8D2dC6a3](https://goerli.basescan.org/address/0xC9ee9628f23b14483EA413C28712690E8D2dC6a3) | [View/Download](./abis/84531-andromeda-snxUSDToken.json) | -| Oracle Manager | [0xEC618B8994B76d89EfCD7051BA2D57Dcb6442E95](https://goerli.basescan.org/address/0xEC618B8994B76d89EfCD7051BA2D57Dcb6442E95) | [View/Download](./abis/84531-andromeda-OracleManager.json) | -| Spot Market | [0x41A883a85b1AdE59F41d459Fa550b40fa56429DB](https://goerli.basescan.org/address/0x41A883a85b1AdE59F41d459Fa550b40fa56429DB) | [View/Download](./abis/84531-andromeda-SpotMarket.json) | -| Perps Market | [0xEED61f0CB02f3B38923b1b6EAa939D5f04f431b6](https://goerli.basescan.org/address/0xEED61f0CB02f3B38923b1b6EAa939D5f04f431b6) | [View/Download](./abis/84531-andromeda-PerpsMarket.json) | -| Perps Market Account NFT | [0xfBD08C515DedDa6DbE59611b4bAC2E0f4a250301](https://goerli.basescan.org/address/0xfBD08C515DedDa6DbE59611b4bAC2E0f4a250301) | [View/Download](./abis/84531-andromeda-PerpsAccountNFT.json) | -| Fake Collateral Token $TKN | [0x7056F16f58638253B8A1E5023d67a8CF98000681](https://goerli.basescan.org/address/0x7056F16f58638253B8A1E5023d67a8CF98000681) | [View/Download](./abis/84531-andromeda-FakeCollateralTKN.json) | +| System | Address | ABI | +| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | +| Synthetix Core | [0xF4Df9Dd327Fd30695d478c3c8a2fffAddcdD0d31](https://goerli.basescan.org/address/0xF4Df9Dd327Fd30695d478c3c8a2fffAddcdD0d31) | [View/Download](./abis/84531-andromeda-SynthetixCore.json) | +| snxAccount NFT | [0xa88694d0025dd96194D1B0237fDEbf7D1D34B02F](https://goerli.basescan.org/address/0xa88694d0025dd96194D1B0237fDEbf7D1D34B02F) | [View/Download](./abis/84531-andromeda-snxAccountNFT.json) | +| snxUSD Token | [0xa89163A087fe38022690C313b5D4BBF12574637f](https://goerli.basescan.org/address/0xa89163A087fe38022690C313b5D4BBF12574637f) | [View/Download](./abis/84531-andromeda-snxUSDToken.json) | +| Oracle Manager | [0x439e6cbAaF61C63f406687907022960088801EC0](https://goerli.basescan.org/address/0x439e6cbAaF61C63f406687907022960088801EC0) | [View/Download](./abis/84531-andromeda-OracleManager.json) | +| Spot Market | [0x26f3EcFa0Aa924649cfd4b74C57637e910A983a4](https://goerli.basescan.org/address/0x26f3EcFa0Aa924649cfd4b74C57637e910A983a4) | [View/Download](./abis/84531-andromeda-SpotMarket.json) | +| Perps Market | [0x75c43165ea38cB857C45216a37C5405A7656673c](https://goerli.basescan.org/address/0x75c43165ea38cB857C45216a37C5405A7656673c) | [View/Download](./abis/84531-andromeda-PerpsMarket.json) | +| Perps Market Account NFT | [0xD8FD25C1A4d90244699f5Eb1966dB07FbDE9dcFa](https://goerli.basescan.org/address/0xD8FD25C1A4d90244699f5Eb1966dB07FbDE9dcFa) | [View/Download](./abis/84531-andromeda-PerpsAccountNFT.json) | +| Fake Collateral Fake USD Coin $fUSDC | [0x4967d1987930b2CD183dAB4B6C40B8745DD2eba1](https://goerli.basescan.org/address/0x4967d1987930b2CD183dAB4B6C40B8745DD2eba1) | [View/Download](./abis/84531-andromeda-FakeCollateralfUSDC.json) | diff --git a/for-perp-integrators/base-andromeda.md b/for-perp-integrators/base-andromeda.md index f5b0323..b3becdc 100644 --- a/for-perp-integrators/base-andromeda.md +++ b/for-perp-integrators/base-andromeda.md @@ -5,11 +5,10 @@ description: Evolving reference for Core V3 + Perps V3 on Base # Base Andromeda {% hint style="info" %} -### INTERIM timeline +### Evolving timeline for Base Andromeda Alpha * Week beginning Nov 6th: Perps V3 starting audit ✅ * Week beginning Nov 13th: Andromeda 3.3.3 on [Base Goerli](https://usecannon.com/packages/synthetix-omnibus/latest/84531-andromeda) ✅ -* Week beginning Nov 27th: Andromeda 3.3.3 on Base mainnet 🚧 * Week beginning Dec 4th: Andromeda 3.4.0 on Base mainnet (pending Perp audit) * TBC: Public launch of Andromeda on Base mainnet and announcements {% endhint %} @@ -29,6 +28,7 @@ The Spot Market is included, but only to be used as a mechanism to exchange the * Unique to Andromeda Base is the use of a USDC wrapper, enabling USDC to appear to be used as collateral for LPs, and as margin as perp traders. * Underneath, USDC is wrapped and or traded into sUSDC for LP collateral (and collecting fees), and sUSD as perp margin * The full configuration of Base Goerli can be seen [on Cannon](https://usecannon.com/packages/synthetix-omnibus/3.3.3-dev.e141cd8c/84531-andromeda) +* See [#andromeda-on-base-goerli](../for-developers/addresses-+-abis.md#andromeda-on-base-goerli "mention") for Addresses and ABIs * Configuration explained: * [this is the part](https://github.com/Synthetixio/synthetix-deployments/pull/66/files#diff-dc0e4e9b2b24d1fcf9c5a8ffd5b5548955777eff55c71dd0ab208dc04e84a89b) that deploys sUSDC (a USDC synth) and creates the spot market * USDC <-> sUSDC can be wrapped/unwrapped on the spot market