Skip to content

Commit

Permalink
Merge pull request #86 from renproject/feat/adapter-with-gsn
Browse files Browse the repository at this point in the history
Add GSN to BasicAdapter, fix calculating number of registered darknodes after a Registry upgrade
  • Loading branch information
loongy authored Mar 19, 2020
2 parents 147ce2c + c472f62 commit 3ec7d69
Show file tree
Hide file tree
Showing 120 changed files with 6,896 additions and 6,735 deletions.
2 changes: 1 addition & 1 deletion .solcover.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
copyPackages: ["openzeppelin-solidity"], // needed to import from node_modules
copyPackages: ["@openzeppelin/contracts"], // needed to import from node_modules
testrpcOptions: "-d --accounts 10 --port 8555",
skipFiles: [
// REN token
Expand Down
2 changes: 1 addition & 1 deletion build/chaosnet/BCHShifter.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
"type": "function"
}
],
"sourcePath": "/home/noah/github/renproject/darknode-sol/contracts/Shifter/Shifter.sol",
"sourcePath": "./contracts/Shifter/Shifter.sol",
"compiler": {
"name": "solc",
"version": "0.5.12+commit.7709ece9.Emscripten.clang"
Expand Down
2 changes: 1 addition & 1 deletion build/chaosnet/BTCShifter.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
"type": "function"
}
],
"sourcePath": "/home/noah/github/renproject/darknode-sol/contracts/Shifter/Shifter.sol",
"sourcePath": "./contracts/Shifter/Shifter.sol",
"compiler": {
"name": "solc",
"version": "0.5.12+commit.7709ece9.Emscripten.clang"
Expand Down
89 changes: 89 additions & 0 deletions build/chaosnet/BasicAdapter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"contractName": "BasicAdapter",
"abi": [
{
"constant": false,
"inputs": [
{
"internalType": "contract IShifterRegistry",
"name": "_shifterRegistry",
"type": "address"
},
{
"internalType": "string",
"name": "_symbol",
"type": "string"
},
{
"internalType": "address",
"name": "_address",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "bytes32",
"name": "_nHash",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "_sig",
"type": "bytes"
}
],
"name": "shiftIn",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "contract IShifterRegistry",
"name": "_shifterRegistry",
"type": "address"
},
{
"internalType": "string",
"name": "_symbol",
"type": "string"
},
{
"internalType": "bytes",
"name": "_to",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "shiftOut",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
}
],
"sourcePath": "./contracts/Shifter/examples/BasicAdapter.sol",
"compiler": {
"name": "solc",
"version": "0.5.12+commit.7709ece9.Emscripten.clang"
},
"networks": {
"1": {
"events": {},
"links": {},
"address": "0x67FC8956904b053600425B822c6d3af000C365fa",
"transactionHash": "0x48604214ddb620fbc3d9db4513ef22d9262bd2734b4fea18f6167c5325d1242d"
}
},
"schemaVersion": "3.0.20"
}
Loading

0 comments on commit 3ec7d69

Please sign in to comment.