Sourcify Logosourcify.eth

0x5ed4a410A612F2fe625a8F3cB4d70f197fF8C8be

on Ethereum Mainnet (1)

Exact Match
Runtime Bytecode
Creation Bytecode
Contract Name
SynthetixAMM
Compilation Target
browser/SynthetixAMM.sol:SynthetixAMM
Language
Solidity
Compiler
solc 0.8.1+commit.df193b15
EVM Version
istanbul
Verified At
2024-08-08 10:55:12 UTC
Deployer
0x2D407dDb06311396fE14D4b49da5F0471447d45C
Deployment Transaction
0x9138e50e4a98c9130a6e299bb9afc7b28e90a5891c27c5b3b4e79f29dfafc0d7
Block Number
11883195
Transaction Index
104

ABI

Expand to view

Source Code

Remix IDE LogoView on Remix IDE
  • browser/SynthetixAMM.sol
Loading...

Compiler Settings

Loading...

Contract Metadata

Loading...

Creation Bytecode

On-chain & Recompiled Bytecode
0x608060405234801561001057600080fd5b50600080546001600160a01b03191633179055610d21806100326000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063d2f7265a11610066578063d2f7265a14610111578063f39c38a014610119578063f3fef3a314610121578063fa09e63014610134578063ff11b5c0146101475761009e565b8063238efcbc146100a35780635a837efd146100ad5780635aa6e675146100d6578063ab033ea9146100eb578063ad18ad0c146100fe575b600080fd5b6100ab61015a565b005b6100c06100bb366004610890565b610195565b6040516100cd9190610b1c565b60405180910390f35b6100de610229565b6040516100cd91906109eb565b6100ab6100f93660046107e0565b610238565b6100c061010c366004610855565b610271565b6100de61046f565b6100de610487565b6100ab61012f36600461082c565b610496565b6100ab6101423660046107e0565b6104cb565b6100ab6101553660046107fa565b61057e565b6001546001600160a01b0316331461017157600080fd5b600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000806101a3868686610271565b90506101ba6001600160a01b0387163330886105c3565b6101ce6001600160a01b0385168483610621565b826001600160a01b0316336001600160a01b03167fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d82287600080866040516102189493929190610b25565b60405180910390a395945050505050565b6000546001600160a01b031681565b6000546001600160a01b0316331461024f57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03808216600090815260026020908152604080832054878516845281842054825163313ce56760e01b81529251949591821694911692859273dd6eb7f03f8cd9b5c9565172e37c0bb98d67e07892637c661949928692670de0b6b3a764000092849263313ce5679260048082019391829003018186803b1580156102fb57600080fd5b505afa15801561030f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103339190610991565b61033e90600a610be5565b610348908b610cb6565b6103529190610b7f565b8660026040518563ffffffff1660e01b81526004016103749493929190610a3c565b6101a06040518083038186803b15801561038d57600080fd5b505afa1580156103a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c591906108fc565b509050826001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561040157600080fd5b505afa158015610415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104399190610991565b61044490600a610be5565b815161045890670de0b6b3a7640000610cb6565b6104629190610b7f565b93505050505b9392505050565b73dd6eb7f03f8cd9b5c9565172e37c0bb98d67e07881565b6001546001600160a01b031681565b6000546001600160a01b031633146104ad57600080fd5b6000546104c7906001600160a01b03848116911683610621565b5050565b6000546001600160a01b031633146104e257600080fd5b6000546040516370a0823160e01b815261057b916001600160a01b0390811691908416906370a082319061051a9030906004016109eb565b60206040518083038186803b15801561053257600080fd5b505afa158015610546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056a9190610979565b6001600160a01b0384169190610621565b50565b6000546001600160a01b0316331461059557600080fd5b6001600160a01b03918216600090815260026020526040902080546001600160a01b03191691909216179055565b61061b846323b872dd60e01b8585856040516024016105e4939291906109ff565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610645565b50505050565b6106408363a9059cbb60e01b84846040516024016105e4929190610a23565b505050565b610657826001600160a01b0316610732565b61067c5760405162461bcd60e51b815260040161067390610ae5565b60405180910390fd5b600080836001600160a01b03168360405161069791906109b2565b6000604051808303816000865af19150503d80600081146106d4576040519150601f19603f3d011682016040523d82523d6000602084013e6106d9565b606091505b5091509150816106fb5760405162461bcd60e51b815260040161067390610a66565b80511561061b578080602001905181019061071691906108dc565b61061b5760405162461bcd60e51b815260040161067390610a9b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906107665750808214155b925050505b919050565b80356001600160a01b038116811461076b57600080fd5b600060c08284031215610798578081fd5b6107a260c0610b40565b9050815181526020820151602082015260408201516040820152606082015160608201526080820151608082015260a082015160a082015292915050565b6000602082840312156107f1578081fd5b61046882610770565b6000806040838503121561080c578081fd5b61081583610770565b915061082360208401610770565b90509250929050565b6000806040838503121561083e578182fd5b61084783610770565b946020939093013593505050565b600080600060608486031215610869578081fd5b61087284610770565b92506020840135915061088760408501610770565b90509250925092565b600080600080608085870312156108a5578081fd5b6108ae85610770565b9350602085013592506108c360408601610770565b91506108d160608601610770565b905092959194509250565b6000602082840312156108ed578081fd5b81518015158114610468578182fd5b6000808284036101a0811215610910578283fd5b60e081121561091d578283fd5b5061092860e0610b40565b835181526020840151602082015260408401516040820152606084015160608201526080840151608082015260a084015160a082015260c084015160c0820152809250506108238460e08501610787565b60006020828403121561098a578081fd5b5051919050565b6000602082840312156109a2578081fd5b815160ff81168114610468578182fd5b60008251815b818110156109d257602081860181015185830152016109b8565b818111156109e05782828501525b509190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b90815260200190565b93845260208401929092526040830152606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715610b7757634e487b7160e01b600052604160045260246000fd5b604052919050565b600082610b9a57634e487b7160e01b81526012600452602481fd5b500490565b80825b6001808611610bb15750610bdc565b818704821115610bc357610bc3610cd5565b80861615610bd057918102915b9490941c938002610ba2565b94509492505050565b600061046860001960ff851684600082610c0157506001610468565b81610c0e57506000610468565b8160018114610c245760028114610c2e57610c5b565b6001915050610468565b60ff841115610c3f57610c3f610cd5565b6001841b915084821115610c5557610c55610cd5565b50610468565b5060208310610133831016604e8410600b8410161715610c8e575081810a83811115610c8957610c89610cd5565b610468565b610c9b8484846001610b9f565b808604821115610cad57610cad610cd5565b02949350505050565b6000816000190483118215151615610cd057610cd0610cd5565b500290565b634e487b7160e01b600052601160045260246000fdfea264697066735822122078b530288f1cffe879bb7d9062e904deb3aa9b9c8d27ea4ecafa987583c18a6e64736f6c63430008010033

CBOR Auxdata

These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.

CBOR Auxdata id: 1

View on IPFS LogoSolidity metadata.json IPFS hash: QmWTqspM5B1quNvdhXbS6TbXzyLZ5cUGHnTV8ZWJPqrQqj
RawDecoded
Length: 53 bytes
0xa264697066735822122078b530288f1cffe879bb7d9062e904deb3aa9b9c8d27ea4ecafa987583c18a6e64736f6c63430008010033

Runtime Bytecode

On-chain & Recompiled Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063d2f7265a11610066578063d2f7265a14610111578063f39c38a014610119578063f3fef3a314610121578063fa09e63014610134578063ff11b5c0146101475761009e565b8063238efcbc146100a35780635a837efd146100ad5780635aa6e675146100d6578063ab033ea9146100eb578063ad18ad0c146100fe575b600080fd5b6100ab61015a565b005b6100c06100bb366004610890565b610195565b6040516100cd9190610b1c565b60405180910390f35b6100de610229565b6040516100cd91906109eb565b6100ab6100f93660046107e0565b610238565b6100c061010c366004610855565b610271565b6100de61046f565b6100de610487565b6100ab61012f36600461082c565b610496565b6100ab6101423660046107e0565b6104cb565b6100ab6101553660046107fa565b61057e565b6001546001600160a01b0316331461017157600080fd5b600154600080546001600160a01b0319166001600160a01b03909216919091179055565b6000806101a3868686610271565b90506101ba6001600160a01b0387163330886105c3565b6101ce6001600160a01b0385168483610621565b826001600160a01b0316336001600160a01b03167fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d82287600080866040516102189493929190610b25565b60405180910390a395945050505050565b6000546001600160a01b031681565b6000546001600160a01b0316331461024f57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03808216600090815260026020908152604080832054878516845281842054825163313ce56760e01b81529251949591821694911692859273dd6eb7f03f8cd9b5c9565172e37c0bb98d67e07892637c661949928692670de0b6b3a764000092849263313ce5679260048082019391829003018186803b1580156102fb57600080fd5b505afa15801561030f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103339190610991565b61033e90600a610be5565b610348908b610cb6565b6103529190610b7f565b8660026040518563ffffffff1660e01b81526004016103749493929190610a3c565b6101a06040518083038186803b15801561038d57600080fd5b505afa1580156103a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c591906108fc565b509050826001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561040157600080fd5b505afa158015610415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104399190610991565b61044490600a610be5565b815161045890670de0b6b3a7640000610cb6565b6104629190610b7f565b93505050505b9392505050565b73dd6eb7f03f8cd9b5c9565172e37c0bb98d67e07881565b6001546001600160a01b031681565b6000546001600160a01b031633146104ad57600080fd5b6000546104c7906001600160a01b03848116911683610621565b5050565b6000546001600160a01b031633146104e257600080fd5b6000546040516370a0823160e01b815261057b916001600160a01b0390811691908416906370a082319061051a9030906004016109eb565b60206040518083038186803b15801561053257600080fd5b505afa158015610546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056a9190610979565b6001600160a01b0384169190610621565b50565b6000546001600160a01b0316331461059557600080fd5b6001600160a01b03918216600090815260026020526040902080546001600160a01b03191691909216179055565b61061b846323b872dd60e01b8585856040516024016105e4939291906109ff565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610645565b50505050565b6106408363a9059cbb60e01b84846040516024016105e4929190610a23565b505050565b610657826001600160a01b0316610732565b61067c5760405162461bcd60e51b815260040161067390610ae5565b60405180910390fd5b600080836001600160a01b03168360405161069791906109b2565b6000604051808303816000865af19150503d80600081146106d4576040519150601f19603f3d011682016040523d82523d6000602084013e6106d9565b606091505b5091509150816106fb5760405162461bcd60e51b815260040161067390610a66565b80511561061b578080602001905181019061071691906108dc565b61061b5760405162461bcd60e51b815260040161067390610a9b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906107665750808214155b925050505b919050565b80356001600160a01b038116811461076b57600080fd5b600060c08284031215610798578081fd5b6107a260c0610b40565b9050815181526020820151602082015260408201516040820152606082015160608201526080820151608082015260a082015160a082015292915050565b6000602082840312156107f1578081fd5b61046882610770565b6000806040838503121561080c578081fd5b61081583610770565b915061082360208401610770565b90509250929050565b6000806040838503121561083e578182fd5b61084783610770565b946020939093013593505050565b600080600060608486031215610869578081fd5b61087284610770565b92506020840135915061088760408501610770565b90509250925092565b600080600080608085870312156108a5578081fd5b6108ae85610770565b9350602085013592506108c360408601610770565b91506108d160608601610770565b905092959194509250565b6000602082840312156108ed578081fd5b81518015158114610468578182fd5b6000808284036101a0811215610910578283fd5b60e081121561091d578283fd5b5061092860e0610b40565b835181526020840151602082015260408401516040820152606084015160608201526080840151608082015260a084015160a082015260c084015160c0820152809250506108238460e08501610787565b60006020828403121561098a578081fd5b5051919050565b6000602082840312156109a2578081fd5b815160ff81168114610468578182fd5b60008251815b818110156109d257602081860181015185830152016109b8565b818111156109e05782828501525b509190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039485168152602081019390935292166040820152606081019190915260800190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b90815260200190565b93845260208401929092526040830152606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715610b7757634e487b7160e01b600052604160045260246000fd5b604052919050565b600082610b9a57634e487b7160e01b81526012600452602481fd5b500490565b80825b6001808611610bb15750610bdc565b818704821115610bc357610bc3610cd5565b80861615610bd057918102915b9490941c938002610ba2565b94509492505050565b600061046860001960ff851684600082610c0157506001610468565b81610c0e57506000610468565b8160018114610c245760028114610c2e57610c5b565b6001915050610468565b60ff841115610c3f57610c3f610cd5565b6001841b915084821115610c5557610c55610cd5565b50610468565b5060208310610133831016604e8410600b8410161715610c8e575081810a83811115610c8957610c89610cd5565b610468565b610c9b8484846001610b9f565b808604821115610cad57610cad610cd5565b02949350505050565b6000816000190483118215151615610cd057610cd0610cd5565b500290565b634e487b7160e01b600052601160045260246000fdfea264697066735822122078b530288f1cffe879bb7d9062e904deb3aa9b9c8d27ea4ecafa987583c18a6e64736f6c63430008010033

CBOR Auxdata

These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.

CBOR Auxdata id: 1

View on IPFS LogoSolidity metadata.json IPFS hash: QmWTqspM5B1quNvdhXbS6TbXzyLZ5cUGHnTV8ZWJPqrQqj
RawDecoded
Length: 53 bytes
0xa264697066735822122078b530288f1cffe879bb7d9062e904deb3aa9b9c8d27ea4ecafa987583c18a6e64736f6c63430008010033

Storage Layout

SlotOffsetBytesLabelTypeContract
0020governanceaddressbrowser/SynthetixAMM.sol:SynthetixAMM
1020pendingGovernanceaddressbrowser/SynthetixAMM.sol:SynthetixAMM
2032synthsmapping(address ⇒ address)browser/SynthetixAMM.sol:SynthetixAMM

Standard JSON Input

This isn't the original compiler JSON data. Generated for compatibility.

Loading...

Standard JSON Output

This isn't the original compiler JSON data. Generated for compatibility.

Loading...
0x5ed4a410A612F2fe625a8F3cB4d70f197fF8C8be on Ethereum Mainnet (1)