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
var driver = require('bigchaindb-driver') | |
var div = document.createElement('div') | |
var DOMTransaction = document.createElement('a') | |
DOMTransaction.innerText = 'pending' | |
div.appendChild(DOMTransaction) | |
document.body.appendChild(div) | |
const alice = new driver.Ed25519Keypair() | |
console.log(alice) |
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.22 <0.6.0; | |
import 'browser/Condition.sol'; | |
contract AgreementStore { | |
struct Agreement { | |
bool exists; | |
bytes32 templateId; | |
bool state; | |
bytes32 did; |
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.22 <0.6.0; | |
import 'browser/Condition.sol'; | |
contract AgreementStore { | |
struct Agreement { | |
bool exists; | |
bytes32 templateId; | |
bool state; | |
bytes32 did; |
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.22 <0.6.0; | |
import 'browser/Condition.sol'; | |
contract AgreementStore { | |
// TemplateStore _templateStore; | |
ConditionStore _conditionStore; | |
struct Agreement { |
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.6.6; | |
contract HegicReproduceBug { | |
Option[] public options; | |
enum State { Active, Exercised, Expired } | |
struct Option { | |
State state; | |
uint expiration; | |
} |