Datasets:

contract_name
stringlengths
1
238
file_path
stringlengths
4
23.2k
contract_address
stringlengths
42
42
language
stringclasses
2 values
source_code
stringlengths
1
896k
abi
stringlengths
2
46.2k
compiler_version
stringclasses
297 values
optimization_used
bool
2 classes
runs
float64
1
1,000M
constructor_arguments
stringlengths
0
214k
evm_version
stringclasses
11 values
library
stringclasses
376 values
license_type
stringclasses
16 values
proxy
bool
2 classes
implementation
stringlengths
0
42
swarm_source
stringlengths
0
71
DesignatedVoting
contracts/oracle/implementation/VoteTiming.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../interfaces/VotingInterface.sol"; /** * @title Library to compute rounds and phases for an equal length commit-reveal voting cycle. */ library VoteTiming { using SafeMath for uint256; ...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/implementation/ExpandedERC20.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./MultiRole.sol"; import "../interfaces/ExpandedIERC20.sol"; /** * @title An ERC20 with permissioned burning and minting. The contract deployer will initially * be the owner who is capab...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
@openzeppelin/contracts/token/ERC20/ERC20.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; import "../../GSN/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be ...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/interfaces/ExpandedIERC20.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title ERC20 interface that includes burn and mint methods. */ abstract contract ExpandedIERC20 is IERC20 { /** * @notice Burns a specific amount of the caller's tokens. * @...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/umips/VotingUpgrader.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../oracle/implementation/Finder.sol"; import "../oracle/implementation/Constants.sol"; import "../oracle/implementation/Voting.sol"; /** * @title A contract that executes a short series of upgrade calls that must be performed atomically as a p...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/umips/Umip3Upgrader.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../oracle/implementation/Finder.sol"; import "../oracle/implementation/Constants.sol"; import "../oracle/implementation/Voting.sol"; /** * @title A contract to track a whitelist of addresses. */ contract Umip3Upgrader { // Existing govern...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/test/MockOracleAncillary.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/Testable.sol"; import "../interfaces/OracleAncillaryInterface.sol"; import "../interfaces/IdentifierWhitelistInterface.sol"; import "../interfaces/FinderInterface.sol"; import "../im...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/test/MockOracle.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/Testable.sol"; import "../interfaces/OracleInterface.sol"; import "../interfaces/IdentifierWhitelistInterface.sol"; import "../interfaces/FinderInterface.sol"; import "../implementat...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/Governor.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/MultiRole.sol"; import "../../common/implementation/FixedPoint.sol"; import "../../common/implementation/Testable.sol"; import "../interfaces/FinderInterface.sol"; import "../interfac...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/test/GovernorTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../Governor.sol"; // GovernorTest exposes internal methods in the Governor for testing. contract GovernorTest is Governor { constructor(address _timerAddress) public Governor(address(0), 0, _timerAddress) ...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/expiring-multiparty/PricelessPositionManager.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/interfaces/IERC20Standard.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title ERC20 interface that includes the decimals read only method. */ interface IERC20Standard is IERC20 { /** * @dev Returns the number of decimals used to get its user represe...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/FeePayer.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../../common/implementation/Lockable.sol"; import "../../common/implementation/FixedPoint.sol...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/financial-product-libraries/FinancialProductLibrary.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../../common/implementation/FixedPoint.sol"; interface ExpiringContractInterface { function expirationTimestamp() external view returns (uint256); } /** * @title Financial product library contract * @notice Provides price and collateral requir...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/interfaces/AdministrateeInterface.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/FixedPoint.sol"; /** * @title Interface that all financial contracts expose to the admin. */ interface AdministrateeInterface { /** * @notice Initiates the shutdown proces...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/test/FinancialProductLibraryTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../common/financial-product-libraries/FinancialProductLibrary.sol"; // Implements a simple FinancialProductLibrary to test price and collateral requirement transoformations. contract FinancialProductLibraryTest is FinancialProductLibrary { FixedPoin...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/test/ExpiringMultiPartyMock.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/Testable.sol"; import "../../common/implementation/FixedPoint.sol"; import "../common/financial-product-libraries/FinancialProductLibrary.sol"; contract ExpiringMultiPartyMock is Testable { using FixedPoint for FixedPoin...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/test/VotingAncillaryInterfaceTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/FixedPoint.sol"; import "../../common/implementation/Testable.sol"; import "../interfaces/OracleAncillaryInterface.sol"; import "../interfaces/VotingAncillaryInterface.sol"; // A moc...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/DesignatedVoting.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/MultiRole.sol"; import "../../common/implementation/Withdrawable.sol"; import "../interfaces/VotingAncillaryInterface.sol"; import "../interfaces/FinderInterface.sol"; import "./Const...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/trader/uniswap-broker/UniswapBroker.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/lib/contracts/libraries/Babylonian.sol"; import "@uniswap/lib/contracts/libraries/TransferHelper.sol"; import "@uniswap/lib/contracts/libraries/FullMath.sol";...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
@uniswap/lib/contracts/libraries/Babylonian.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.4.0; // computes square roots using the babylonian method // https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method library Babylonian { // credit for this implementation goes to // https://github.com/abdk-consulting/a...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
@uniswap/lib/contracts/libraries/FullMath.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: CC-BY-4.0 pragma solidity >=0.4.0; // taken from https://medium.com/coinmonks/math-in-solidity-part-3-percents-and-proportions-4db014e080b1 // license is CC-BY-4.0 library FullMath { function fullMul(uint256 x, uint256 y) internal pure returns (uint256 l, uint256 h) { uint256 mm...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/test/MockAdministratee.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../interfaces/AdministrateeInterface.sol"; // A mock implementation of AdministrateeInterface, taking the place of a financial contract. contract MockAdministratee is AdministrateeInterface { uint256 pub...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/demo/DepositBox.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../common/FeePayer.sol"; import "../../c...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/perpetual-multiparty/PerpetualCreator.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/interfaces/ExpandedIERC20.sol"; import "../../common/interfaces/IERC20Standard.sol"; import "../../oracle/implementation/ContractCreator.sol"; import "../../common/implementation/Testable.sol"; impo...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/TokenFactory.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "./SyntheticToken.sol"; import "../../common/interfaces/ExpandedIERC20.sol"; import "../../common/implementation/Lockable.sol"; /** * @title Factory for creating new mintable and burnable tokens. */ contract TokenFactory is Lockable { /**...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/SyntheticToken.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../../common/implementation/ExpandedERC20.sol"; import "../../common/implementation/Lockable.sol"; /** * @title Burnable and mintable ERC20. * @dev The contract deployer will initially be the only minter, burner and owner capable of adding new...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/perpetual-multiparty/PerpetualLib.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./Perpetual.sol"; /** * @title Provides convenient Perpetual Multi Party contract utilities. * @dev Using this library to deploy Perpetuals allows calling contracts to avoid importing the full bytecode. */ l...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/perpetual-multiparty/Perpetual.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./PerpetualLiquidatable.sol"; /** * @title Perpetual Multiparty Contract. * @notice Convenient wrapper for Liquidatable. */ contract Perpetual is PerpetualLiquidatable { /** * @notice Constructs the...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/perpetual-multiparty/PerpetualPositionManager.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "../../common/implementation/FixedPoint.so...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/perpetual-multiparty/ConfigStoreInterface.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/FixedPoint.sol"; interface ConfigStoreInterface { // All of the configuration settings available for querying by a perpetual. struct ConfigSettings { // Liveness peri...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/EmergencyShutdownable.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @title EmergencyShutdownable contract. * @notice Any contract that inherits this contract will have an emergency shutdown timestamp state variable. * This co...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/expiring-multiparty/ExpiringMultiPartyCreator.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/interfaces/ExpandedIERC20.sol"; import "../../common/interfaces/IERC20Standard.sol"; import "../../oracle/implementation/ContractCreator.sol"; import "../../common/implementation/Testable.sol"; impo...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/expiring-multiparty/ExpiringMultiPartyLib.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./ExpiringMultiParty.sol"; /** * @title Provides convenient Expiring Multi Party contract utilities. * @dev Using this library to deploy EMP's allows calling contracts to avoid importing the full EMP bytecode...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/expiring-multiparty/ExpiringMultiParty.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./Liquidatable.sol"; /** * @title Expiring Multi Party. * @notice Convenient wrapper for Liquidatable. */ contract ExpiringMultiParty is Liquidatable { /** * @notice Constructs the ExpiringMultiPart...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/expiring-multiparty/Liquidatable.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./PricelessPositionManager.sol"; import "../....
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/test/FundingRateApplierTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../common/FundingRateApplier.sol"; import "../../common/implementation/FixedPoint.sol"; // Implements FundingRateApplier internal methods to enable unit testing. contract FundingRateApplierTest is FundingRateA...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/TokenMigrator.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/FixedPoint.sol"; import "../../common/interfaces/ExpandedIERC20.sol"; import "./VotingToken.sol"; /** * @title Migration contract for VotingTokens. * @dev Handles migrating token ...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/test/TokenSender.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/ExpandedERC20.sol"; contract TokenSender { function transferERC20( address tokenAddress, address recipientAddress, uint256 amount ) public returns (bo...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/financial-product-libraries/StructuredNoteFinancialProductLibrary.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./FinancialProductLibrary.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../../../common/implementation/Lockable.sol"; /** * @title Structured Note Financial Product Library * @notice Adds custom price transformation logic to modif...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/financial-templates/common/financial-product-libraries/PreExpirationIdentifierTransformationFinancialProductLibrary.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "./FinancialProductLibrary.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../../../common/implementation/Lockable.sol"; /** * @title Pre-Expiration Identifier Transformation Financial Product Library * @notice Adds custom identifier...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/test/ReentrancyMock.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../implementation/Lockable.sol"; import "./ReentrancyAttack.sol"; // Tests reentrancy guards defined in Lockable.sol. // Extends https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.1/contracts/mocks/ReentrancyMock.sol. contract Ree...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/test/VoteTimingTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../../interfaces/VotingInterface.sol"; import "../VoteTiming.sol"; // Wraps the library VoteTiming for testing purposes. contract VoteTimingTest { using VoteTiming for VoteTiming.Data; VoteTiming.Data public voteTiming; constructo...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/oracle/implementation/test/VotingTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../Voting.sol"; import "../../../common/implementation/FixedPoint.sol"; // Test contract used to access internal variables in the Voting contract. contract VotingTest is Voting { constructor( uint2...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/test/UnsignedFixedPointTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../implementation/FixedPoint.sol"; // Wraps the FixedPoint library for testing purposes. contract UnsignedFixedPointTest { using FixedPoint for FixedPoint.Unsigned; using FixedPoint for uint256; using SafeMath for uint256; func...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/test/SignedFixedPointTest.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../implementation/FixedPoint.sol"; // Wraps the FixedPoint library for testing purposes. contract SignedFixedPointTest { using FixedPoint for FixedPoint.Signed; using FixedPoint for int256; using SafeMath for int256; function w...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/test/VaultMock.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "../interfaces/VaultInterface.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title Mock for yearn-style vaults for use in tests. */ contract VaultMock is VaultInterface { IERC20 public override token; uint256 pri...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/interfaces/VaultInterface.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title Interface for Yearn-style vaults. * @dev This only contains the methods/events that we use in our contracts or offchain infrastructure. */ abstract contract VaultInterface { /...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
DesignatedVoting
contracts/common/test/BasicERC20.sol
0xa581ea2537f67ebe9f43d751e819bd918e809397
Solidity
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.6.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title Implements only the required ERC20 methods. This contract is used * test how contracts handle ERC20 contracts that have not implemented `decimals()` * @dev Mostly copied from Cons...
[{"inputs":[{"internalType":"address","name":"finderAddress","type":"address"},{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"address","name":"voterAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalT...
v0.6.12+commit.27d51765
true
199
00000000000000000000000040f941e48a552bf496b154af6bf55725f18d77c30000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d0000000000000000000000009a8f92a830a5cb89a3816e3d267cb7791c16b04d
Default
Unknown
false
ipfs://617d39572f2a704ccf2f89c018de5a76636c4d524dab1138bcb4599330f70518
srkNFT
@openzeppelin/contracts/access/Ownable.sol
0xcdb63dbd12a586a69a871c645ff7d71fff03c2cd
Solidity
pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed w...
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"a...
v0.8.7+commit.e28d00a7
true
200
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000010...
Default
GNU GPLv3
false
ipfs://928d93a8d8233c2170b7a4fd9c9763f3feef0f27daa1dc277693068bcdaf3b70
Proxy
zos-lib/contracts/upgradeability/Proxy.sol
0xdeb173187d7c6ac80abaa139f0c7306fb73801a9
Solidity
/** * @title Proxy * @dev Implements delegation of calls to other contracts, with proper * forwarding of return values and bubbling of failures. * It defines a fallback function that delegates all calls to the address * returned by the abstract _implementation() internal function. */ contract Proxy { ad...
[{"inputs":[{"name":"_implementation","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
v0.4.24+commit.e67f0147
false
200
000000000000000000000000ac741e6a0e009fb6b46bb16eae801a01d265afc4
Default
None
false
bzzr://e39230671c118fa229eaa75c7bdb9271da9593dd55dee3093fe1cfba840b6fd2
BPool
BColor.sol
0x47f0cd2ccdfb9616601d13920e0f06e76017670b
Solidity
// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"u...
v0.5.12+commit.7709ece9
true
2,000
Default
GNU GPLv3
false
bzzr://08be3d1ae8df326becfb0d7fa15f3da56c3488a4813f666aa4154f7433e2a31e
BPool
BNum.sol
0x47f0cd2ccdfb9616601d13920e0f06e76017670b
Solidity
// This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, ...
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"src","type":"address"},{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"amt","type":"u...
v0.5.12+commit.7709ece9
true
2,000
Default
GNU GPLv3
false
bzzr://08be3d1ae8df326becfb0d7fa15f3da56c3488a4813f666aa4154f7433e2a31e
BaseToken
@openzeppelin/contracts/token/ERC20/ERC20Capped.sol
0x336752bb73aa2cb255d95c02ababc0e6e5262284
Solidity
pragma solidity ^0.6.0; /** * @dev Extension of {ERC20} that adds a cap to the supply of tokens. */ abstract contract ERC20Capped is ERC20 { uint256 private _cap; /** * @dev Sets the value of the `cap`. This value is immutable, it can only be * set once during construction. */ ...
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy...
v0.6.6+commit.6c089d02
true
200
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000314dc6448d9338c15b0a000000000000000000000000000000000000000000000000000000000de0b6b3a7640000...
Default
MIT
false
ipfs://f8683978394b8d78af0ebe5fcd9fc2d81a80d39c7bace24fbcc5e4f69acbc5f1
BaseToken
contracts/access/Roles.sol
0x336752bb73aa2cb255d95c02ababc0e6e5262284
Solidity
pragma solidity ^0.6.0; contract Roles is AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER"); bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR"); constructor () public { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msg...
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy...
v0.6.6+commit.6c089d02
true
200
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000314dc6448d9338c15b0a000000000000000000000000000000000000000000000000000000000de0b6b3a7640000...
Default
MIT
false
ipfs://f8683978394b8d78af0ebe5fcd9fc2d81a80d39c7bace24fbcc5e4f69acbc5f1
BaseToken
contracts/BaseToken.sol
0x336752bb73aa2cb255d95c02ababc0e6e5262284
Solidity
pragma solidity ^0.6.0; /** * @title BaseToken * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of the BaseToken */ contract BaseToken is ERC20Capped, ERC20Burnable, ERC1363, Roles, TokenRecover { // indicates if minting is finished bool private _min...
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalTy...
v0.6.6+commit.6c089d02
true
200
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000314dc6448d9338c15b0a000000000000000000000000000000000000000000000000000000000de0b6b3a7640000...
Default
MIT
false
ipfs://f8683978394b8d78af0ebe5fcd9fc2d81a80d39c7bace24fbcc5e4f69acbc5f1
UtilizationChecker
checker.sol
0x2f8806d2feab8edebbebec36f9b4a46f9daa4113
Solidity
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "Ownable.sol"; interface IBentoBox { struct StrategyData { uint64 strategyStartDate; uint64 targetPercentage; uint128 balance; } struct Rebase { uint128 elastic; uint128 base; } function totals(address...
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"interna...
v0.8.7+commit.e28d00a7
true
200
Default
MIT
false
ipfs://40d386897984cb1fc82449ed93b5f61c790ed0ba4de1ba129689f7a9f3ea5889
UtilizationChecker
Ownable.sol
0x2f8806d2feab8edebbebec36f9b4a46f9daa4113
Solidity
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functi...
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"interna...
v0.8.7+commit.e28d00a7
true
200
Default
MIT
false
ipfs://40d386897984cb1fc82449ed93b5f61c790ed0ba4de1ba129689f7a9f3ea5889
MatchingToken
MatchingToken.sol
0xa4973f21ff16422e7d1cbaa883d7e73d91da2c1a
Solidity
pragma solidity ^0.5.1; contract MatchingToken{ mapping (address => uint256) public balanceOf; mapping (address => bool) private transferable; uint256 private _totalSupply=3000000000000000000000000000; string private _name= "MatchingToken"; string private _symbol= "MAT"; uint256 p...
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs...
v0.5.1+commit.c8a2cb62
false
200
Default
None
false
bzzr://f1195f9f2262afdd1bdfc549baf558904aea191a39834ba5098fbe26bd50b66d
ERC20Token
ERC20Token.sol
0xc898522d850303cc0f5e7b3cf03383d8fd7d6003
Solidity
// Telegram: https://t.me/tokyoinuswap // Twitter: https://twitter.com/tokyoinuswap // SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** ...
[{"inputs":[],"stateMutability":"nonpayable","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"}...
v0.6.12+commit.27d51765
true
200
Default
MIT
false
ipfs://da818e7de6964a43407ce4d7709f2c5202f7e1c3f2521ee13471bb3e09f1a44c
MultiSigStub
MultiSigStub.sol
0xc4b157ba206cb5f83ed2be7048c97269597b22a0
Solidity
pragma solidity ^0.4.15; /** * @title MultiSigStub * @author Ricardo Guilherme Schmidt (Status Research & Development GmbH) * @dev Contract that delegates calls to a library to build a full MultiSigWallet that is cheap to create. */ contract MultiSigStub { address[] public owners; address[] p...
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"owners","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"getTokenList","outputs":[{"name":"","type":"address[]"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","ty...
v0.4.15+commit.bbb8e64f
true
200
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000ce93832b0c878d21ee78cbe27ad3e6574bba7a00000000000000000000000000c58c654b91b3de2b23d24b12534759d72fed39
Default
false
bzzr://5f9067556e9c3090e70abee6b5c474ddf7236e257a45355efc079c90d5a5829e
Account
Account.sol
0x4e684710adade77c2074183e1df1be8430e36119
Solidity
pragma solidity ^0.5.10; contract AbstractAccount { event DeviceAdded(address device, bool isOwner); event DeviceRemoved(address device); event TransactionExecuted(address recipient, uint256 value, bytes data, bytes response); struct Device { bool isOwner; bool exists; bool existed; ...
[{"constant":false,"inputs":[{"name":"_device","type":"address"}],"name":"removeDevice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"executeTra...
v0.5.10+commit.5a6ea5b1
true
200
Default
MIT
false
bzzr://e14f95bd455a8016ef9d3429468ca1d08ebf4209ca7126aedd976554789e4dc0
CRYPSTONE
CRYPSTONE.sol
0xfb34f1b6d17994e7987f332cdeb1010c96fd25a8
Solidity
/* CRYPSTONE */ pragma solidity ^0.4.25; /** * @title SafeMath */ library SafeMath { /** * Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * ...
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fal...
v0.4.25+commit.59dbf8f1
true
200
Default
false
bzzr://d6918aac9310dbb3425579129bbdee94363f33a06817160b34f1af37f3a32cda
Crier
Crier.sol
0x972341443f25d4fc9a4c706c45e01ca8bb9c52a5
Solidity
pragma solidity ^0.4.25; interface ReportEmitter { event Report(address indexed sender, uint256 indexed tag, uint256 indexed target, uint256 value); } contract Crier is ReportEmitter { function report(uint256 o, bytes32 t) public payable {emit Repor...
[{"constant":false,"inputs":[{"name":"o","type":"bytes"},{"name":"t","type":"bytes"}],"name":"report","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"o","type":"bytes"},{"name":"t","type":"string"}],"name":"report","outputs":[],"payable":true,"stateMutabil...
v0.4.25+commit.59dbf8f1
true
200
Default
false
bzzr://0b6d741555d75c74a397309f21fcf3d8e58dfa0f9e185b5034cb79e976ee6012
CrunchMultiVesting
/D/CUPERTO/DATACRUNCH/IT/solidity/datacrunch/contracts/CrunchMultiVesting.sol
0xe469f12f4746b5ae105a1b888bff5a1b9e27fee5
Solidity
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; /** * @title Crunch Multi Vesting * @author Enzo CACERES <enzo.caceres@crunchdao.com> * @notice Allow the vesting of mult...
[{"inputs":[{"internalType":"address","name":"_crunch","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],...
v0.8.7+commit.e28d00a7
false
200
00000000000000000000000074451d2240ef9e86b3cea815378af61566b81856
Default
false
CSB
CSB.sol
0xc873f3b4e37390207395b540f345b1d5a25f32cf
Solidity
pragma solidity ^0.4.21; contract CSBInterface { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: uint256 public totalSupply; This automatically creates a getter function for the totalSupply. This is mov...
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fal...
v0.4.26+commit.4563c3fc
false
200
000000000000000000000000000000000000000000000000010e0198eaee00000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000003...
Default
OSL-3.0
false
bzzr://a037f29d5615d88d830dd88e50a52508e86c1cf48f5f903ebda350b1a591c42d
ChannelMastercopy
src.sol/interfaces/IVectorChannel.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./ICMCCore.sol"; import "./ICMCAsset.sol"; import "./ICMCDeposit.sol"; import "./ICMCWithdraw.sol"; import "./ICMCAdjudicator.sol"; interface IVectorChannel is ICMCCore, ICMCAsset, ICMCDeposit, ICM...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/lib/LibAsset.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./LibERC20.sol"; import "./LibUtils.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /// @title LibAsset /// @author Connext <support@connext.network> /// @notice This library contains helpers for d...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/lib/LibERC20.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./LibUtils.sol"; import "@openzeppelin/contracts/utils/Address.sol"; /// @title LibERC20 /// @author Connext <support@connext.network> /// @notice This library provides several functions to safely handle /// ...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/ICMCCore.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; interface ICMCCore { function setup(address _alice, address _bob) external; function getAlice() external view returns (address); function getBob() external view returns (address); }
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/ICMCAsset.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; interface ICMCAsset { function getTotalTransferred(address assetId) external view returns (uint256); function getExitableAmount(address assetId, address owner) external view...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/ICMCDeposit.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; interface ICMCDeposit { event AliceDeposited(address assetId, uint256 amount); function getTotalDepositsAlice(address assetId) external view returns (uint256); function getTotalDep...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/ICMCWithdraw.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; struct WithdrawData { address channelAddress; address assetId; address payable recipient; uint256 amount; uint256 nonce; address callTo; bytes callData; } interface ICMCWithdraw { function ...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/Types.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; struct Balance { uint256[2] amount; // [alice, bob] in channel, [initiator, responder] in transfer address payable[2] to; // [alice, bob] in channel, [initiator, responder] in transfer }
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/lib/LibUtils.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; /// @title LibUtils /// @author Connext <support@connext.network> /// @notice Contains a helper to revert if a call was not successfully /// made library LibUtils { // If success is false, reverts and passes on...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/CMCAsset.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./interfaces/ICMCAsset.sol"; import "./interfaces/Types.sol"; import "./CMCCore.sol"; import "./lib/LibAsset.sol"; import "./lib/LibMath.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/c...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/ReentrancyGuard.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; /// @title CMCWithdraw /// @author Connext <support@connext.network> /// @notice A "mutex" reentrancy guard, heavily influenced by OpenZeppelin. contract ReentrancyGuard { uint256 private constant OPEN = 1; uint25...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/lib/LibMath.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; /// @title LibMath /// @author Connext <support@connext.network> /// @notice This library allows functions that would otherwise overflow and /// revert if SafeMath was used to instead return the UINT_MAX. In the //...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/Commitment.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; enum CommitmentType {ChannelState, WithdrawData}
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/ITransferDefinition.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./ITransferRegistry.sol"; import "./Types.sol"; interface ITransferDefinition { // Validates the initial state of the transfer. // Called by validator.ts during `create` updates. function create(bytes ...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/lib/LibChannelCrypto.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/cryptography/ECDSA.sol"; /// @author Connext <support@connext.network> /// @notice This library contains helpers for recovering signatures from a /// Vector commitments. Chann...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/ITransferRegistry.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental "ABIEncoderV2"; struct RegisteredTransfer { string name; address definition; string stateEncoding; string resolverEncoding; bytes encodedCancel; } interface ITransferRegistry { event TransferAdded(RegisteredTran...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/CMCWithdraw.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./interfaces/Commitment.sol"; import "./interfaces/ICMCWithdraw.sol"; import "./interfaces/WithdrawHelper.sol"; import "./CMCCore.sol"; import "./CMCAsset.sol"; import "./lib/LibAsset.sol"; import "./lib/LibChannel...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/interfaces/WithdrawHelper.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./ICMCWithdraw.sol"; interface WithdrawHelper { function execute(WithdrawData calldata wd, uint256 actualAmount) external; }
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
ChannelMastercopy
src.sol/ChannelMastercopy.sol
0x41034d60fac7815c32b7cab238644eb6990e5ad6
Solidity
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.1; pragma experimental ABIEncoderV2; import "./interfaces/IVectorChannel.sol"; import "./CMCCore.sol"; import "./CMCAsset.sol"; import "./CMCDeposit.sol"; import "./CMCWithdraw.sol"; import "./CMCAdjudicator.sol"; /// @title ChannelMastercopy /// @author Con...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"assetId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"AliceDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"defunder","type":...
v0.7.1+commit.f4a555be
true
200
Default
MIT
false
ipfs://0c5761a7a244ea0132fa44dddcf0e7db8a07d95db5eae27e73fff5d050f1145c
YUANUSDxUSDCPool
@openzeppelin/contracts/ownership/Ownable.sol
0x4ce744e4c4597dc810a075e4925cf95c80e7290d
Solidity
pragma solidity ^0.5.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which ca...
[{"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":false,"internalType":"uint256","name":"rewar...
v0.5.15+commit.6a57276f
true
200
Default
GNU LGPLv3
false
bzzr://8615520ef54eb52546230a4d3fe966cc300c3d021249c637720b492e9db8391a
YUANUSDxUSDCPool
@openzeppelin/contracts/token/ERC20/SafeERC20.sol
0x4ce744e4c4597dc810a075e4925cf95c80e7290d
Solidity
pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use t...
[{"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":false,"internalType":"uint256","name":"rewar...
v0.5.15+commit.6a57276f
true
200
Default
GNU LGPLv3
false
bzzr://8615520ef54eb52546230a4d3fe966cc300c3d021249c637720b492e9db8391a
YUANUSDxUSDCPool
contracts/IRewardDistributionRecipient.sol
0x4ce744e4c4597dc810a075e4925cf95c80e7290d
Solidity
pragma solidity ^0.5.0; contract IRewardDistributionRecipient is Ownable { address public rewardDistribution; function notifyRewardAmount(uint256 reward) external; modifier onlyRewardDistribution() { require( _msgSender() == rewardDistribution, "Caller is not rew...
[{"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":false,"internalType":"uint256","name":"rewar...
v0.5.15+commit.6a57276f
true
200
Default
GNU LGPLv3
false
bzzr://8615520ef54eb52546230a4d3fe966cc300c3d021249c637720b492e9db8391a
SimpleStorage
SimpleStorage.sol
0x8d7ddfc92f4fbc26c392b4aca320f79fdaba7710
Solidity
contract SimpleStorage { uint storedData; function set(uint x) { storedData = x; } function get() constant returns (uint retVal) { return storedData; } }
[{"constant":false,"inputs":[{"name":"x","type":"uint256"}],"name":"set","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"get","outputs":[{"name":"retVal","type":"uint256"}],"type":"function"}]
v0.3.0-2016-03-30-c2cf806
true
200
Default
false
Admc
Admc.sol
0xa036e39fdfa9dbb17266e0dd64989488c9b1b4a9
Solidity
// ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } ...
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fals...
v0.4.25+commit.59dbf8f1
false
200
Default
None
false
bzzr://19b19450cb4f0f94285fb551ad09ad7936b02eb400698da3f492a50fe0a3f065
RaribleUserToken
RaribleUserToken.sol
0xbaca87e100c92e2cfd082c067fe47467d930622d
Solidity
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint2...
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"string","name":"tokenURIPrefix","type":"string"},{"internalType":"address","name":"signer","type":"address"}],"pay...
v0.5.17+commit.d19bba13
true
200
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f03ba06dd459ae597357b491219fcb573f5fe683...
istanbul
MIT
false
bzzr://7063bdda34a1ef9960513e4e549a839c15c117d62710a82a3de03d89bd2e16ca
ELBT
ELBT.sol
0x8a02b7efa57ab83bd250d281cbd5dd5539672a0f
Solidity
pragma solidity ^0.4.16; contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uin...
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fal...
v0.4.21+commit.dfe3193c
false
200
Default
false
bzzr://504d825857e000cfa1a55b862bea103b3d92b64e334996532b5f2dfd3eb3d905
Wallet
Wallet.sol
0x4054c994419291290be118c207edd7be706b2396
Solidity
pragma solidity ^0.4.15; /** * @title Log Various Error Types * @author Adam Lemmon <adam@oraclize.it> * @dev Inherit this contract and your may now log errors easily * To support various error types, params, etc. */ contract LoggingErrors { /** * Events */ event LogErrorString(string errorStr...
[{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_amount","type":"uint256"}],"name":"depositERC20Token","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"logic_","outputs":[{"name":"","type":"address"}],"p...
v0.4.24+commit.e67f0147
true
200
000000000000000000000000ddec27f9b78c31c720c6f0f70018980a1e26cd04
Default
false
bzzr://91ab9932f462dc19180e8d269e9c4a96d60c0eb6d96e71ec4fa9987efb568c46
WhaleOfUniswap
WhaleOfUniswap.sol
0xca58d0dc1cdc041f00d09601c76ff63ff7a358b2
Solidity
/* _ _ _ _ ___ _ _____ _____ ______ _ _ _ _ _____ _____ _ _ ___ ______ | | | || | | | / _ \ | | | ___| | _ || ___| | | | || \ | ||_ _|/ ___|| | | | / _ \ | ___ \ | | | || |_| |/ /_\ \| | | |__ | | | || |_ | | | || \| | | | \ `--. | | | |/ /_\ \| |_/ / | ...
[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NewKing","type":"event"},{"anonymous":false,"inputs":[{"indexed":true...
v0.6.12+commit.27d51765
true
200
Default
None
false
ipfs://236f61eb7c358fe5dcb2890b883a29d7536f21b22bf2f56aad613263f2379e75
DirtyFarm
/C/Users/carme/OneDrive/Documents/Crypto/projects/ethereum/Dirty/TRUFFLE WORKING/contracts/DirtyFarm.sol
0x1e81512f9a9ccf10039a71da83225b291ac52208
Solidity
// SPDX-License-Identifier: MIT // Dirty.Finance Staking Contract Version 1.0 // Stake your $dirty or LP tokens to receive Dirtycash rewards (XXXCASH) pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@o...
[{"inputs":[{"internalType":"contract DirtyCash","name":"_dirty","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,...
v0.8.0+commit.c7dfd78e
true
200
0000000000000000000000005af387b715b667921ca676aaefbe8320584ed65b0000000000000000000000000000000000000000000000000000000000c642a6
constantinople
false
DirtyFarm
/C/Users/carme/OneDrive/Documents/Crypto/projects/ethereum/Dirty/TRUFFLE WORKING/contracts/dirtycash.sol
0x1e81512f9a9ccf10039a71da83225b291ac52208
Solidity
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; /** * @title * @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator. * Note they can later distribute these tokens as they wish using `transfer` and other * ...
[{"inputs":[{"internalType":"contract DirtyCash","name":"_dirty","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,...
v0.8.0+commit.c7dfd78e
true
200
0000000000000000000000005af387b715b667921ca676aaefbe8320584ed65b0000000000000000000000000000000000000000000000000000000000c642a6
constantinople
false
DirtyFarm
@openzeppelin/contracts/utils/math/SafeMath.sol
0x1e81512f9a9ccf10039a71da83225b291ac52208
Solidity
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starti...
[{"inputs":[{"internalType":"contract DirtyCash","name":"_dirty","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,...
v0.8.0+commit.c7dfd78e
true
200
0000000000000000000000005af387b715b667921ca676aaefbe8320584ed65b0000000000000000000000000000000000000000000000000000000000c642a6
constantinople
false
MiniMeToken
@aragon/apps-shared-minime/contracts/ITokenController.sol
0xb92c8d91172156dfea4ee54845b12ef2bee00c90
Solidity
/// @dev The token controller contract must implement these functions interface ITokenController { /// @notice Called when `_owner` sends ether to the MiniMe Token contract /// @param _owner The address that sent the ether to create tokens /// @return True if the ether is accepted, false if it throw...
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":fa...
v0.4.24+commit.e67f0147
true
10,000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000000...
Default
false
bzzr://5a44c4b66ea238cd7a06e7714f5b8c9ceea8c41953f9c86ff6a9900ab440c143
Airdrop
Airdrop.sol
0x0379258fab3707dff45c79a3d017ec3a831ea3ba
Solidity
pragma solidity ^0.4.24; contract Ownable { address public owner; constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } } contract Pausable is Ownable { event Pause(); event Unpause(); bool public paus...
[{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type...
v0.4.24+commit.e67f0147
true
200
Default
false
bzzr://4498b8eed2446259bf5c7a4b25fc1ed3bc3b56fc62c6a6a36a248f0878afcac5
UniversalVault
contracts/UniversalVault.sol
0xf3344451577c3221f41e91e78806d7fd5322b766
Solidity
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.7.6; pragma abicoder v2; import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {Initializable} from "@openzeppelin/contracts/proxy/Initializable.sol"; import {Enumerabl...
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":...
v0.7.6+commit.7338295f
true
1,000
Default
false