-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
23,009 additions
and
16,626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "Monerium EUR emoney", | ||
"symbol": "EURe", | ||
"ticker": "EUR", | ||
"decimals": "18", | ||
"website": "https://monerium.com", | ||
"source_code": "https://github.com/monerium/smart-contracts", | ||
"short_description": "The Monerium e-money offers programmable fiat money on blockchains, an indispensable building block for the nascent blockchain economy.", | ||
"networks": { | ||
"1" : { | ||
"name": "Ethereum Mainnet", | ||
"short_name": "eth", | ||
"chain": "ETH", | ||
"network": "mainnet", | ||
"chain_id": 1, | ||
"network_id": 1, | ||
"contract_address": "0x3231cb76718cdef2155fc47b5286d82e6eda273f", | ||
"ens": "eur.monerium.com", | ||
"explorer": "https://etherscan.io/token/0x3231cb76718cdef2155fc47b5286d82e6eda273f" | ||
|
||
}, | ||
"3" : { | ||
"name": "Ethereum Ropsten", | ||
"short_name": "rop", | ||
"chain": "ETH", | ||
"network": "ropsten", | ||
"chain_id": 3, | ||
"network_id": 3, | ||
"contract_address": "0x0ae91c2b9e31e92871129117d908b0963c054048", | ||
"explorer": "https:/ropsten./etherscan.io/token/0x0ae91c2b9e31e92871129117d908b0963c054048" | ||
|
||
}, | ||
"4" : { | ||
"name": "Ethereum Rinkeby", | ||
"short_name": "rin", | ||
"chain": "ETH", | ||
"network": "rinkeby", | ||
"chain_id": 4, | ||
"network_id": 4, | ||
"contract_address": "0x25c13fc529dc4afe4d488bd1f2ee5e1ec4918e0b", | ||
"explorer": "https://rinkeby.etherscan.io/token/0x25c13fc529dc4afe4d488bd1f2ee5e1ec4918e0b" | ||
|
||
}, | ||
"42" : { | ||
"name": "Ethereum Kovan", | ||
"short_name": "kov", | ||
"chain": "ETH", | ||
"network": "kovan", | ||
"chain_id": 42, | ||
"network_id": 42, | ||
"contract_address": "0x9b8fd8fcfaa2438d11e7ed77d5afb6c2e1044b37", | ||
"explorer": "https://kovan.etherscan.io/token/0x9b8fd8fcfaa2438d11e7ed77d5afb6c2e1044b37" | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "Monerium GBP emoney", | ||
"symbol": "GBPe", | ||
"ticker": "GBP", | ||
"decimals": "18", | ||
"website": "https://monerium.com", | ||
"source_code": "https://github.com/monerium/smart-contracts", | ||
"short_description": "The Monerium e-money offers programmable fiat money on blockchains, an indispensable building block for the nascent blockchain economy.", | ||
"networks": { | ||
"1" : { | ||
"name": "Ethereum Mainnet", | ||
"short_name": "eth", | ||
"chain": "ETH", | ||
"network": "mainnet", | ||
"chain_id": 1, | ||
"network_id": 1, | ||
"contract_address": "0x7ba92741bf2a568abc6f1d3413c58c6e0244f8fd", | ||
"ens": "gbp.monerium.com", | ||
"explorer": "https://etherscan.io/token/0x7ba92741bf2a568abc6f1d3413c58c6e0244f8fd" | ||
|
||
}, | ||
"3" : { | ||
"name": "Ethereum Ropsten", | ||
"short_name": "rop", | ||
"chain": "ETH", | ||
"network": "ropsten", | ||
"chain_id": 3, | ||
"network_id": 3, | ||
"contract_address": "0xd9979346224e7b147caddf399b56357e20d3e67c", | ||
"explorer": "https:/ropsten./etherscan.io/token/0xd9979346224e7b147caddf399b56357e20d3e67c" | ||
|
||
}, | ||
"4" : { | ||
"name": "Ethereum Rinkeby", | ||
"short_name": "rin", | ||
"chain": "ETH", | ||
"network": "rinkeby", | ||
"chain_id": 4, | ||
"network_id": 4, | ||
"contract_address": "0x01df10e345d0364d3a5b8422a66af6305803bd1e", | ||
"explorer": "https://rinkeby.etherscan.io/token/0x01df10e345d0364d3a5b8422a66af6305803bd1e" | ||
|
||
}, | ||
"42" : { | ||
"name": "Ethereum Kovan", | ||
"short_name": "kov", | ||
"chain": "ETH", | ||
"network": "kovan", | ||
"chain_id": 42, | ||
"network_id": 42, | ||
"contract_address": "0xe28884ed5bd43e3f9f1dd733d254c9f5c6f983d2", | ||
"explorer": "https://kovan.etherscan.io/token/0xe28884ed5bd43e3f9f1dd733d254c9f5c6f983d2" | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.11; | ||
|
||
import "./SystemRole.sol"; | ||
|
||
/** | ||
* @title ClaimableSystemRole | ||
* @dev Extension for the SystemRole contract, where the ownership needs to be claimed. | ||
* This allows the new owner to accept the transfer. | ||
*/ | ||
abstract contract ClaimableSystemRole is SystemRole { | ||
address public pendingOwner; | ||
|
||
/** | ||
* @dev emitted when the pendingOwner address is changed | ||
* @param previousPendingOwner previous pendingOwner address | ||
* @param newPendingOwner new pendingOwner address | ||
*/ | ||
event OwnershipTransferPending( | ||
address indexed previousPendingOwner, | ||
address indexed newPendingOwner | ||
); | ||
|
||
/** | ||
* @dev Modifier throws if called by any account other than the pendingOwner. | ||
*/ | ||
modifier onlyPendingOwner() { | ||
require(msg.sender == pendingOwner); | ||
_; | ||
} | ||
|
||
/** | ||
* @dev Allows the current owner to set the pendingOwner address. | ||
* @param newOwner The address to transfer ownership to. | ||
*/ | ||
function transferOwnership( | ||
address newOwner | ||
) public virtual override onlyOwner { | ||
emit OwnershipTransferPending(pendingOwner, newOwner); | ||
pendingOwner = newOwner; | ||
} | ||
|
||
/** | ||
* @dev Allows the pendingOwner address to finalize the transfer. | ||
*/ | ||
function claimOwnership() public onlyPendingOwner { | ||
emit OwnershipTransferred(owner, pendingOwner); | ||
owner = pendingOwner; | ||
_setupRole(DEFAULT_ADMIN_ROLE, owner); | ||
pendingOwner = address(0); | ||
} | ||
} |
Oops, something went wrong.