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.5.1; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
import "./TokenFactory.sol"; | |
contract BCFactory is Owned { | |
/* Copy of KMP shared storage to allow DELEGATECALL*/ | |
uint8 constant MAX_OWNER_COMPANIES = 5; // 1 owner could register up to 5 companies. | |
uint8 constant MAX_COMPANY_TOKENS = 10; // 1 company could register up to 10 tokens. |
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.5.1; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
import "./TokenFactory.sol"; | |
contract BCFactory is Owned { | |
/* Copy of KMP shared storage to allow DELEGATECALL*/ | |
uint8 constant MAX_OWNER_COMPANIES = 5; // 1 owner could register up to 5 companies. | |
uint8 constant MAX_COMPANY_TOKENS = 10; // 1 company could register up to 10 tokens. |
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.21; | |
contract A{ | |
string v1; | |
string v2; | |
string v3; | |
event AEvent(string val1, string val2, string val3); | |
event AMSGSender(address msgSender); | |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
import "./TokenFactory.sol"; | |
contract BCFactory is Owned { | |
/* Copy of KMP shared storage to allow DELEGATECALL*/ | |
uint8 constant MAX_OWNER_COMPANIES = 5; //1 owner could register up to 5 companies. | |
mapping (address => address[MAX_OWNER_COMPANIES]) private companies; // (owner => companies[5]) |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
contract BC is Owned { | |
mapping (address => bool) public admins; | |
string public name; | |
string public phone; | |
string public url; |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
contract BC is Owned { | |
mapping (address => bool) public admins; | |
string public name; | |
string public phone; | |
string public url; |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
contract BC is Owned { | |
mapping (address => bool) public admins; | |
string public name; | |
string public phone; | |
string public url; |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
contract BC is Owned { | |
mapping (address => bool) public admins; | |
string public name; | |
string public phone; | |
string public url; |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
contract BC is Owned { | |
mapping (address => bool) public admins; | |
string public name; | |
string public phone; | |
string public url; |
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.24; | |
import "./Owned.sol"; | |
import "./KMToken.sol"; | |
contract BC is Owned { | |
mapping (address => bool) public admins; | |
string public name; | |
string public phone; | |
string public url; |