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
it('setQuota should not ', async function () { | |
let event = logs.find(e => e.event === 'Quota'); | |
expect(event).to.not.exist; | |
}); | |
it('resolveUnion should not', async function () { | |
let event = logs.find(e => e.event === 'UnionResolution'); | |
expect(event).to.not.exist; | |
}); |
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
pragma solidity ^0.4.11; | |
/** | |
* @title Ownable | |
* @dev The Ownable contract has an owner address, and provides basic authorization control | |
* functions, this simplifies the implementation of "user permissions". | |
*/ | |
contract Ownable { | |
address public owner; |
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
6060604052361561011b576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063186f03541461012d5780632c4e722e1461017f5780633197cbb6146101a5578063355274ea146101cb57806340193883146101f15780634042b66f1461021757806348c54b9d1461023d5780634bb278f31461024f578063521eb2731461026157806378e97925146102b35780637d3d6522146102d9578063837197b2146103035780638d4e4083146103395780638da5cb5b14610363578063b5545a3c146103b5578063ec8ac4d8146103c7578063ecb70fb7146103f5578063f2fde38b1461041f578063fbfa77cf14610455578063fc0c546a146104a7578063fcf8566e146104f9575b61012b5b6101283361050b565b5b565b005b341561013557fe5b61013d61063e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561018757fe5b61018f610664565b6040518082815260200191505060405180910390f35b34156101ad57fe5b6101b561066a565b6040518082815260200191505060405180910390f35b34156101d357fe5b6101db610670565b6040518082815260200191505060405180910390f35b34156101f957fe5b610201610676 |
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
60606040526000600260006101000a81548160ff02191690831515021790555034156200002857fe5b60405160e080620021f1833981016040528080519060200190919080519060200190919080519060200190919080519060200190919080519060200190919080519060200190919080519060200190919050505b5b33600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b428610151515620000d05760006000fd5b858510151515620000e15760006000fd5b600084111515620000f25760006000fd5b600083111515620001035760006000fd5b60008173ffffffffffffffffffffffffffffffffffffffff16141515156200012b5760006000fd5b6000821115156200013c5760006000fd5b80620001476200028b565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f08015156200019157fe5b600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160048190555086600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373 |
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
pragma solidity ^0.4.13; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
contract SafeMathLib { | |
function safeMul(uint256 a, uint256 b) internal constant returns (uint256) { | |
uint256 c = a * b; | |
assert(a == 0 || c / a == b); |
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
pragma solidity ^0.4.13; | |
/* | |
Copyright 2016, Jordi Baylina | |
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 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
pragma solidity ^0.4.13; | |
/* | |
Copyright 2016, Jordi Baylina | |
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. |