Sourcify Logosourcify.eth

0x16396273D244a651C2Bf3D33aD3CA21952E4dE2A

on Celo Baklava Testnet (62320)

Exact Match
Runtime Bytecode
Creation Bytecode
Warning: This contract is only matched with runtime bytecode. The constructor may be different from the original one, which could affect the contract's functionality.
Contract Name
ConstantProductPricingModule
Compilation Target
contracts/ConstantProductPricingModule.sol:ConstantProductPricingModule
Language
Solidity
Compiler
solc 0.5.17+commit.d19bba13
EVM Version
istanbul
Verified At
2024-08-08 10:06:00 UTC
Deployer
Deployment Transaction
Block Number
Transaction Index

ABI

Expand to view

Source Code

Remix IDE LogoView on Remix IDE
  • contracts/common/FixidityLib.sol
  • contracts/interfaces/IPricingModule.sol
  • contracts/ConstantProductPricingModule.sol
  • lib/openzeppelin-contracts/contracts/math/SafeMath.sol
Loading...

Compiler Settings

Loading...

Contract Metadata

Loading...
Contract couldn't be verified with the creation bytecode but with the runtime bytecode. Below is what was found at the time of verification.

Creation Bytecode

0x608060405234801561001057600080fd5b50610cff806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806306fdde031461004657806352707d8c14610064578063571fd01214610084575b600080fd5b61004e610097565b60405161005b9190610b92565b60405180910390f35b61007761007236600461089d565b6100ce565b60405161005b9190610c33565b61007761009236600461089d565b6101a0565b60408051808201909152600f81527f436f6e7374616e7450726f647563740000000000000000000000000000000000602082015290565b6000816100dd57506000610198565b6100e561087f565b6100ee8461021b565b90506100f861087f565b61012861010485610235565b61011c846101106102a7565b9063ffffffff6102cb16565b9063ffffffff61032916565b905061013261087f565b61014b61013e88610235565b839063ffffffff61032916565b905061015561087f565b61016e836101628b610235565b9063ffffffff61061416565b905061019161017c82610672565b61018584610672565b9063ffffffff61067616565b9450505050505b949350505050565b60006101aa61087f565b6101b38461021b565b90506101bd61087f565b6101d56101d0858963ffffffff6106bf16565b610235565b90506101df61087f565b6102016101ee846101106102a7565b61011c6101d08a8963ffffffff61071316565b905061020f61017c82610672565b98975050505050505050565b61022361087f565b50604080516020810190915290815290565b61023d61087f565b610245610755565b821115610287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bd3565b60405180910390fd5b50604080516020810190915269d3c21bcecceda100000082028152919050565b6102af61087f565b50604080516020810190915269d3c21bcecceda1000000815290565b6102d361087f565b81518351101561030f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bb3565b506040805160208101909152815183510381525b92915050565b61033161087f565b8251158061033e57508151155b156103585750604080516020810190915260008152610323565b815169d3c21bcecceda10000001415610372575081610323565b825169d3c21bcecceda1000000141561038c575080610323565b600069d3c21bcecceda10000006103a285610770565b51816103aa57fe5b04905060006103b8856107a5565b519050600069d3c21bcecceda10000006103d186610770565b51816103d957fe5b04905060006103e7866107a5565b519050838202841561043557828582816103fd57fe5b0414610435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610ba3565b69d3c21bcecceda1000000810281156104945769d3c21bcecceda100000082828161045c57fe5b0414610494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610c13565b90508084840285156104e257848682816104aa57fe5b04146104e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610c23565b868402871561052d57848882816104f557fe5b041461052d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bf3565b6105356107df565b878161053d57fe5b0496506105486107df565b858161055057fe5b049450868502871561059e578588828161056657fe5b041461059e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bc3565b6105a661087f565b60405180602001604052808781525090506105cf81604051806020016040528087815250610614565b90506105e981604051806020016040528086815250610614565b905061060381604051806020016040528085815250610614565b9d9c50505050505050505050505050565b61061c61087f565b815183519081019081101561065d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610c03565b60408051602081019091529081529392505050565b5190565b60006106b883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506107e8565b9392505050565b6000826106ce57506000610323565b828202828482816106db57fe5b04146106b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610be3565b60006106b883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610839565b7601357c299a88ea76a58924d52ce4f26a85af186c2b9e7490565b61077861087f565b604051806020016040528069d3c21bcecceda10000008085600001518161079b57fe5b0402905292915050565b6107ad61087f565b604051806020016040528069d3c21bcecceda1000000808560000151816107d057fe5b95519504029093039092525090565b64e8d4a5100090565b60008183610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e9190610b92565b50600083858161082f57fe5b0495945050505050565b60008184841115610877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e9190610b92565b505050900390565b6040518060200160405280600081525090565b803561032381610ca5565b600080600080608085870312156108b357600080fd5b60006108bf8787610892565b94505060206108d087828801610892565b93505060406108e187828801610892565b92505060606108f287828801610892565b91505092959194509250565b600061090982610672565b6109138185610c41565b9350610923818560208601610c4d565b61092c81610c7d565b9093019392505050565b6000610943601683610c41565b7f6f766572666c6f77207831793120646574656374656400000000000000000000815260200192915050565b600061097c601f83610c41565b7f737562737472616374696f6e20756e646572666c6f7720646574656374656400815260200192915050565b60006109b5601683610c41565b7f6f766572666c6f77207832793220646574656374656400000000000000000000815260200192915050565b60006109ee603683610c41565b7f63616e277420637265617465206669786964697479206e756d626572206c617281527f676572207468616e206d61784e65774669786564282900000000000000000000602082015260400192915050565b6000610a4d602183610c41565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000610aac601683610c41565b7f6f766572666c6f77207831793220646574656374656400000000000000000000815260200192915050565b6000610ae5601583610c41565b7f616464206f766572666c6f772064657465637465640000000000000000000000815260200192915050565b6000610b1e601f83610c41565b7f6f766572666c6f772078317931202a2066697865643120646574656374656400815260200192915050565b6000610b57601683610c41565b7f6f766572666c6f77207832793120646574656374656400000000000000000000815260200192915050565b610b8c81610c4a565b82525050565b602080825281016106b881846108fe565b6020808252810161032381610936565b602080825281016103238161096f565b60208082528101610323816109a8565b60208082528101610323816109e1565b6020808252810161032381610a40565b6020808252810161032381610a9f565b6020808252810161032381610ad8565b6020808252810161032381610b11565b6020808252810161032381610b4a565b602081016103238284610b83565b90815260200190565b90565b60005b83811015610c68578181015183820152602001610c50565b83811115610c77576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610cae81610c4a565b8114610cb957600080fd5b5056fea365627a7a72315820905176f3f305c63be53707514ef0fb8352a56e6f1356c53405418966d4311d9c6c6578706572696d656e74616cf564736f6c63430005110040

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

RawDecoded
Length: 66 bytes
0xa365627a7a72315820905176f3f305c63be53707514ef0fb8352a56e6f1356c53405418966d4311d9c6c6578706572696d656e74616cf564736f6c63430005110040

Runtime Bytecode

On-chain & Recompiled Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c806306fdde031461004657806352707d8c14610064578063571fd01214610084575b600080fd5b61004e610097565b60405161005b9190610b92565b60405180910390f35b61007761007236600461089d565b6100ce565b60405161005b9190610c33565b61007761009236600461089d565b6101a0565b60408051808201909152600f81527f436f6e7374616e7450726f647563740000000000000000000000000000000000602082015290565b6000816100dd57506000610198565b6100e561087f565b6100ee8461021b565b90506100f861087f565b61012861010485610235565b61011c846101106102a7565b9063ffffffff6102cb16565b9063ffffffff61032916565b905061013261087f565b61014b61013e88610235565b839063ffffffff61032916565b905061015561087f565b61016e836101628b610235565b9063ffffffff61061416565b905061019161017c82610672565b61018584610672565b9063ffffffff61067616565b9450505050505b949350505050565b60006101aa61087f565b6101b38461021b565b90506101bd61087f565b6101d56101d0858963ffffffff6106bf16565b610235565b90506101df61087f565b6102016101ee846101106102a7565b61011c6101d08a8963ffffffff61071316565b905061020f61017c82610672565b98975050505050505050565b61022361087f565b50604080516020810190915290815290565b61023d61087f565b610245610755565b821115610287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bd3565b60405180910390fd5b50604080516020810190915269d3c21bcecceda100000082028152919050565b6102af61087f565b50604080516020810190915269d3c21bcecceda1000000815290565b6102d361087f565b81518351101561030f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bb3565b506040805160208101909152815183510381525b92915050565b61033161087f565b8251158061033e57508151155b156103585750604080516020810190915260008152610323565b815169d3c21bcecceda10000001415610372575081610323565b825169d3c21bcecceda1000000141561038c575080610323565b600069d3c21bcecceda10000006103a285610770565b51816103aa57fe5b04905060006103b8856107a5565b519050600069d3c21bcecceda10000006103d186610770565b51816103d957fe5b04905060006103e7866107a5565b519050838202841561043557828582816103fd57fe5b0414610435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610ba3565b69d3c21bcecceda1000000810281156104945769d3c21bcecceda100000082828161045c57fe5b0414610494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610c13565b90508084840285156104e257848682816104aa57fe5b04146104e2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610c23565b868402871561052d57848882816104f557fe5b041461052d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bf3565b6105356107df565b878161053d57fe5b0496506105486107df565b858161055057fe5b049450868502871561059e578588828161056657fe5b041461059e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610bc3565b6105a661087f565b60405180602001604052808781525090506105cf81604051806020016040528087815250610614565b90506105e981604051806020016040528086815250610614565b905061060381604051806020016040528085815250610614565b9d9c50505050505050505050505050565b61061c61087f565b815183519081019081101561065d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610c03565b60408051602081019091529081529392505050565b5190565b60006106b883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506107e8565b9392505050565b6000826106ce57506000610323565b828202828482816106db57fe5b04146106b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e90610be3565b60006106b883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610839565b7601357c299a88ea76a58924d52ce4f26a85af186c2b9e7490565b61077861087f565b604051806020016040528069d3c21bcecceda10000008085600001518161079b57fe5b0402905292915050565b6107ad61087f565b604051806020016040528069d3c21bcecceda1000000808560000151816107d057fe5b95519504029093039092525090565b64e8d4a5100090565b60008183610823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e9190610b92565b50600083858161082f57fe5b0495945050505050565b60008184841115610877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027e9190610b92565b505050900390565b6040518060200160405280600081525090565b803561032381610ca5565b600080600080608085870312156108b357600080fd5b60006108bf8787610892565b94505060206108d087828801610892565b93505060406108e187828801610892565b92505060606108f287828801610892565b91505092959194509250565b600061090982610672565b6109138185610c41565b9350610923818560208601610c4d565b61092c81610c7d565b9093019392505050565b6000610943601683610c41565b7f6f766572666c6f77207831793120646574656374656400000000000000000000815260200192915050565b600061097c601f83610c41565b7f737562737472616374696f6e20756e646572666c6f7720646574656374656400815260200192915050565b60006109b5601683610c41565b7f6f766572666c6f77207832793220646574656374656400000000000000000000815260200192915050565b60006109ee603683610c41565b7f63616e277420637265617465206669786964697479206e756d626572206c617281527f676572207468616e206d61784e65774669786564282900000000000000000000602082015260400192915050565b6000610a4d602183610c41565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f81527f7700000000000000000000000000000000000000000000000000000000000000602082015260400192915050565b6000610aac601683610c41565b7f6f766572666c6f77207831793220646574656374656400000000000000000000815260200192915050565b6000610ae5601583610c41565b7f616464206f766572666c6f772064657465637465640000000000000000000000815260200192915050565b6000610b1e601f83610c41565b7f6f766572666c6f772078317931202a2066697865643120646574656374656400815260200192915050565b6000610b57601683610c41565b7f6f766572666c6f77207832793120646574656374656400000000000000000000815260200192915050565b610b8c81610c4a565b82525050565b602080825281016106b881846108fe565b6020808252810161032381610936565b602080825281016103238161096f565b60208082528101610323816109a8565b60208082528101610323816109e1565b6020808252810161032381610a40565b6020808252810161032381610a9f565b6020808252810161032381610ad8565b6020808252810161032381610b11565b6020808252810161032381610b4a565b602081016103238284610b83565b90815260200190565b90565b60005b83811015610c68578181015183820152602001610c50565b83811115610c77576000848401525b50505050565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01690565b610cae81610c4a565b8114610cb957600080fd5b5056fea365627a7a72315820905176f3f305c63be53707514ef0fb8352a56e6f1356c53405418966d4311d9c6c6578706572696d656e74616cf564736f6c63430005110040

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

RawDecoded
Length: 66 bytes
0xa365627a7a72315820905176f3f305c63be53707514ef0fb8352a56e6f1356c53405418966d4311d9c6c6578706572696d656e74616cf564736f6c63430005110040

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...
0x16396273D244a651C2Bf3D33aD3CA21952E4dE2A on Celo Baklava Testnet (62320)