This file contains hidden or 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
| 0x1E65F71b024937b988fdba09814d60049e0Fc59d |
This file contains hidden or 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
| 0x1E65F71b024937b988fdba09814d60049e0Fc59d |
This file contains hidden or 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
| 0xC5D2ee825F8bb57d18726f288ae899a890415F58 |
This file contains hidden or 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
| 0x1E65F71b024937b988fdba09814d60049e0Fc59d |
This file contains hidden or 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
| 0x9A36ba254afc6DAB5095F143f0409ec1789C3421 |
This file contains hidden or 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
| 0x9A36ba254afc6DAB5095F143f0409ec1789C3421 |
This file contains hidden or 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
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| year: 2017, | |
| years: [2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, 1998, 1997, 1996, 1995, 1994, 1993, 1992, 1991, 1990], | |
| actions: { | |
| selectYear(event) { | |
| this.set('year', event.target.value); |
This file contains hidden or 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
| pragma solidity ^0.4.18; | |
| import "zeppelin-solidity/contracts/math/SafeMath.sol"; | |
| import "./administratable.sol"; | |
| contract ExternalStorage is administratable { | |
| using SafeMath for uint256; | |
| mapping(bytes32 => mapping(address => mapping(address => uint256))) MultiLedgerStorage; | |
| mapping(bytes32 => uint256) public primaryLedgerCount; |
This file contains hidden or 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
| pragma solidity ^0.4.18; | |
| import "./ExternalStorage.sol"; | |
| library CstLibrary { | |
| function getTokenName(address _storage) public view returns(bytes32) { | |
| return ExternalStorage(_storage).getBytes32Value("cstTokenName"); | |
| } | |
| function setTokenName(address _storage, bytes32 tokenName) public { |
This file contains hidden or 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
| pragma solidity ^0.4.18; | |
| import "./administratable.sol"; | |
| import "zeppelin-solidity/contracts/math/SafeMath.sol"; | |
| contract ITokenLedger { | |
| function totalTokens() public view returns (uint256); | |
| function totalInCirculation() public view returns (uint256); | |
| function balanceOf(address account) public view returns (uint256); | |
| function mintTokens(uint256 amount) public; |