2020-11-28 18:32:43 +00:00
{
2020-11-30 10:58:07 +00:00
"address" : "0xB809a89cBF9e6C9c717AC99763CE07b82ab1c140" ,
2020-11-28 18:32:43 +00:00
"abi" : [
{
"inputs" : [
{
"internalType" : "uint256" ,
"name" : "id" ,
"type" : "uint256"
} ,
{
"internalType" : "address" ,
"name" : "connectGelatoExecutorPayment" ,
"type" : "address"
}
] ,
"stateMutability" : "nonpayable" ,
"type" : "constructor"
} ,
{
"inputs" : [ ] ,
"name" : "OK" ,
"outputs" : [
{
"internalType" : "string" ,
"name" : "" ,
"type" : "string"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [ ] ,
"name" : "connectorID" ,
"outputs" : [
{
"internalType" : "uint256" ,
"name" : "_type" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "id" ,
"type" : "uint256"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "uint256" ,
"name" : "_vaultAId" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "_vaultBId" ,
"type" : "uint256"
} ,
{
"internalType" : "address" ,
"name" : "_colToken" ,
"type" : "address"
} ,
{
"internalType" : "string" ,
"name" : "_colType" ,
"type" : "string"
}
] ,
"name" : "getDataAndCastMakerToMaker" ,
"outputs" : [ ] ,
"stateMutability" : "payable" ,
"type" : "function"
} ,
{
"inputs" : [ ] ,
"name" : "name" ,
"outputs" : [
{
"internalType" : "string" ,
"name" : "" ,
"type" : "string"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
} ,
{
"inputs" : [
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
} ,
{
"internalType" : "address" ,
"name" : "_dsa" ,
"type" : "address"
} ,
{
"internalType" : "bytes" ,
"name" : "_actionData" ,
"type" : "bytes"
} ,
{
"internalType" : "enum DataFlow" ,
"name" : "" ,
"type" : "uint8"
} ,
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
} ,
{
"internalType" : "uint256" ,
"name" : "" ,
"type" : "uint256"
}
] ,
"name" : "termsOk" ,
"outputs" : [
{
"internalType" : "string" ,
"name" : "" ,
"type" : "string"
}
] ,
"stateMutability" : "view" ,
"type" : "function"
}
] ,
2020-11-30 10:58:07 +00:00
"transactionHash" : "0x3eec78301f1e131a646321172953aed4eb7a1c9e0e2067881016bbec18060cb7" ,
2020-11-28 18:32:43 +00:00
"receipt" : {
"to" : null ,
"from" : "0x5B753BF02a42bC73B5846dfd16a8F2e082b99a6a" ,
2020-11-30 10:58:07 +00:00
"contractAddress" : "0xB809a89cBF9e6C9c717AC99763CE07b82ab1c140" ,
"transactionIndex" : 97 ,
"gasUsed" : "1966656" ,
2020-11-28 18:32:43 +00:00
"logsBloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ,
2020-11-30 10:58:07 +00:00
"blockHash" : "0xf82b50adb5a7f0ce69b64a9d2782edb2d1e44d1f1d222a628d4c1346b98dacf3" ,
"transactionHash" : "0x3eec78301f1e131a646321172953aed4eb7a1c9e0e2067881016bbec18060cb7" ,
2020-11-28 18:32:43 +00:00
"logs" : [ ] ,
2020-11-30 10:58:07 +00:00
"blockNumber" : 11359721 ,
"cumulativeGasUsed" : "10019184" ,
2020-11-28 18:32:43 +00:00
"status" : 1 ,
"byzantium" : true
} ,
2020-11-30 10:58:07 +00:00
"args" : [ 60 , "0x5A6bC81908Df5EC5DC4ad3Bd59AEabA1B86Fc126" ] ,
"solcInputHash" : "f356241e44bbb1ebd4fe25347635c673" ,
"metadata" : "{\"compiler\":{\"version\":\"0.7.4+commit.3f05b770\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"connectGelatoExecutorPayment\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"OK\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"connectorID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_type\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_vaultAId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_vaultBId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_colToken\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_colType\",\"type\":\"string\"}],\"name\":\"getDataAndCastMakerToMaker\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_dsa\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_actionData\",\"type\":\"bytes\"},{\"internalType\":\"enum DataFlow\",\"name\":\"\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"termsOk\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"connectorID()\":{\"details\":\"Connector Details\"},\"getDataAndCastMakerToMaker(uint256,uint256,address,string)\":{\"details\":\"payable to be compatible in conjunction with DSA.cast payable target\",\"params\":{\"_colToken\":\"vault's col token address .\",\"_colType\":\"colType of the new vault. example : ETH-B, ETH-A.\",\"_vaultAId\":\"Id of the unsafe vault of the client of Vault A Collateral.\",\"_vaultBId\":\"Id of the vault B Collateral of the client.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"getDataAndCastMakerToMaker(uint256,uint256,address,string)\":{\"notice\":\"Entry Point for DSA.cast DebtBridge from e.g ETH-A to ETH-B\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/contracts/connectors/ConnectGelatoDataFullMakerToMaker.sol\":\"ConnectGelatoDataFullMakerToMaker\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@gelatonetwork/core/contracts/conditions/IGelatoCondition.sol\":{\"content\":\"// \\\"SPDX-License-Identifier: UNLICENSED\\\"\\npragma solidity >=0.6.10;\\npragma experimental ABIEncoderV2;\\n\\n/// @title IGelatoCondition - solidity interface of GelatoConditionsStandard\\n/// @notice all the APIs of GelatoConditionsStandard\\n/// @dev all the APIs are implemented inside GelatoConditionsStandard\\ninterface IGelatoCondition {\\n\\n /// @notice GelatoCore calls this to verify securely the specified Condition securely\\n /// @dev Be careful only to encode a Task's condition.data as is and not with the\\n /// \\\"ok\\\" s e l e c t o r o r _ t a s k R e c e i p t I d , s i n c e t h o s e t w o t h i n g s a r e h a n d l e d b y G e l a t o C o r e . \ \ n /// @param _taskReceiptId This is passed by GelatoCore so we can rely on it as a secure\\n /// source of Task identification.\\n /// @param _conditionData This is the Condition.data field developers must encode their\\n /// Condition's specific parameters in.\\n /// @param _cycleId For Tasks that are executed as part of a cycle.\\n function ok(uint256 _taskReceiptId
"bytecode" : " 0 x 60 c 0 60405234801561001057600080 f d 5 b 5060405162002346380380620023468339810160408190526100319161004 c 565 b 60809190915260601 b 6001600160601 b 0 3191660 a 0 52610087565 b 6000806040838503121561005e578182 f d 5 b 825160208401519092506001600160 a 0 1 b 0 38116811461007 c 578182 f d 5 b 809150509250929050565 b 60805160 a 0 5160601 c 612293620000 b 360003980610 d 33528061106652508061014 d 52506122936000 f 3 f e 60806040526004361061004 a 5760003560e01 c 806306 f d d e 0 31461004 f 57806345 c 4 b 9 b 51461007 a 578063 d 48 f e 2801461008 f 578063 e b 15 f 781146100 a 4578063 e b 9e7126146100 c 7575 b 600080 f d 5 b 34801561005 b 57600080 f d 5 b 506100646100e7565 b 6040516100719190611 f 92565 b 60405180910390 f 35 b 61008 d 610088366004611 d 92565 b 610103565 b 0 0 5 b 34801561009 b 57600080 f d 5 b 5061006461012 a 565 b 3480156100 b 0 57600080 f d 5 b 506100 b 9610148565 b 604051610071929190612050565 b 3480156100 d 357600080 f d 5 b 506100646100e2366004611 c 5e565 b 61016 f 565 b 6040518060600160405280602681526020016121 f d 6026913981565 b 6060806101138787878787610212565 b 9150915061012182826103 f c 565 b 50505050505050565 b 604051806040016040528060028152602001614 f 4 b 60 f 0 1 b 81525081565 b 6001907 f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 90565 b 60606000610180866004818 a 612082565 b 81019061018 d 9190611 c e 5565 b 505050905080600014156101 b c 576040518060600160405280603 a 815260200161219 b 603 a 9139915050610207565 b 6101 c 681896104e0565 b 6101 e b 576040518060600160405280603 b 8152602001612223603 b 9139915050610207565 b 50506040805180820190915260028152614 f 4 b 60 f 0 1 b 60208201525 b 979650505050505050565 b 6040805160018082528183019092526060918291906020808301908036833701905050915073 e b 4 b f 86589 f 808 f 90 e e c 8e964 d b f 16 b d 4 d 2849058260008151811061025957 f e 5 b 60200260200101906001600160 a 0 1 b 0 31690816001600160 a 0 1 b 0 3168152505061028386306104e0565 b 61028e576000610290565 b 855 b 955060006102 a 56102 a 0 896106 e a 565 b 61094 f 565 b 905060006102 b 289610963565 b 905060006102 d 4736 b 175474e89094 c 44 d a 98 b 954 e e d e a c 495271 d 0 f 84610 a 84565 b 905060006102e38 a 1583610 b 90565 b 905060006102 f 0 82610 b f 0 565 b 90506060808 c 1561030e576103098 e 8e8 e 8 a 8 a 88610 c 0 3565 b 61031 d 565 b 61031 d 8e8 d 8 d 8 d 8 b 8 b 89610 e f 3565 b 604080516001808252818301909252929450909250816020015 b 6060815260200190600190039081610337579050509750638 d 0 a 9 b 1 b 60e01 b 736 b 175474e89094 c 44 d a 98 b 954 e e d e a c 495271 d 0 f 88878585604051602001610380929190611 f 26565 b 60408051601 f 19818403018152908290526103 a 0 94939291602401611 e e f 565 b 604051602081830303815290604052906001600160e01 b 0 319166020820180516001600160e01 b 0 38381831617835250505050886000815181106103e057 f e 5 b 6020026020010181905250505050505050509550959350505050565 b 606063e0 e 90 a c f 60e01 b 83833360405160240161041 b 93929190611 f 54565 b 604051602081830303815290604052906001600160e01 b 0 319166020820180516001600160e01 b 0 38381831617835250505050905060006060306001600160 a 0 1 b 0 3168360405161046 c 9190611 e b f 565 b 600060405180830381855 a f 49150503 d 80600081146104 a 7576040519150601 f 19603 f 3 d 0 11682016040523 d 82523 d 6000602084013e6104 a c 565 b 606091505 b 5091509150816104 d 9576104 d 96040518060600160405280602881526020016121 d 5602891398290611278565 b 5050505050565 b 6000826104 e f 575060006106e4565 b 735 e f 30 b 9986345249 b c 32 d 8928 b 7 e e 64 d e 9435e396001600160 a 0 1 b 0 316638161 b 120846040518263 f f f f f f f f 1660e01 b 81526004018082815260200191505060206040518083038186803 b 15801561054757600080 f d 5 b 505 a f a 92505050801561056 c 57506040513 d 602081101561056757600080 f d 5 b 505160015 b 6106 d 3576105786120e0565 b 806105835750610686565 b 806040516020018080742326 b 0 b 5 b 2 b 9172 f b 4 b 9 a b 30 b a b 63 a 27 b b b 732 b 91 d 60591 b 81525060150182805190602001908083835 b 602083106105 d 65780518252601 f 1990920191602091820191016105 b 7565 b 51815160209384036101000 a 60001901801990921691161790526040805192909401828103601 f 190183529384905262461 b c d 60e51 b 84526004840181815282516024860152825192965094508493604401925085019080838360005 b 8381101561064 b 578181015183820152602001610633565 b 50505050905090810190601 f 1680156106785780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f d 5 b 6040805162461 b c d 60e51 b 815260206004820152601e60248201527 f 464 d 616 b 65722e5 f 69735661756 c 744 f 776e65723 a 756e646566696 e 65640000604482015290519081900360640190 f d 5 b 6001600160 a 0 1 b 0 383811691161490505 b 92915050565 b 6000735 e f 30 b 9986345249 b c 32 d 8928 b 7 e e 64 d e 9435e39818061070 d 8386611529565 b 915091506000836001600160 a 0 1 b 0 3166336569e776040518163 f f f f f f f f 1660e01 b 815260040160206040518083038186803 b 158015
"deployedBytecode" : " 0 x 60806040526004361061004 a 5760003560e01 c 806306 f d d e 0 31461004 f 57806345 c 4 b 9 b 51461007 a 578063 d 48 f e 2801461008 f 578063 e b 15 f 781146100 a 4578063 e b 9e7126146100 c 7575 b 600080 f d 5 b 34801561005 b 57600080 f d 5 b 506100646100e7565 b 6040516100719190611 f 92565 b 60405180910390 f 35 b 61008 d 610088366004611 d 92565 b 610103565 b 0 0 5 b 34801561009 b 57600080 f d 5 b 5061006461012 a 565 b 3480156100 b 0 57600080 f d 5 b 506100 b 9610148565 b 604051610071929190612050565 b 3480156100 d 357600080 f d 5 b 506100646100e2366004611 c 5e565 b 61016 f 565 b 6040518060600160405280602681526020016121 f d 6026913981565 b 6060806101138787878787610212565 b 9150915061012182826103 f c 565 b 50505050505050565 b 604051806040016040528060028152602001614 f 4 b 60 f 0 1 b 81525081565 b 6001907 f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 90565 b 60606000610180866004818 a 612082565 b 81019061018 d 9190611 c e 5565 b 505050905080600014156101 b c 576040518060600160405280603 a 815260200161219 b 603 a 9139915050610207565 b 6101 c 681896104e0565 b 6101 e b 576040518060600160405280603 b 8152602001612223603 b 9139915050610207565 b 50506040805180820190915260028152614 f 4 b 60 f 0 1 b 60208201525 b 979650505050505050565 b 6040805160018082528183019092526060918291906020808301908036833701905050915073 e b 4 b f 86589 f 808 f 90 e e c 8e964 d b f 16 b d 4 d 2849058260008151811061025957 f e 5 b 60200260200101906001600160 a 0 1 b 0 31690816001600160 a 0 1 b 0 3168152505061028386306104e0565 b 61028e576000610290565 b 855 b 955060006102 a 56102 a 0 896106 e a 565 b 61094 f 565 b 905060006102 b 289610963565 b 905060006102 d 4736 b 175474e89094 c 44 d a 98 b 954 e e d e a c 495271 d 0 f 84610 a 84565 b 905060006102e38 a 1583610 b 90565 b 905060006102 f 0 82610 b f 0 565 b 90506060808 c 1561030e576103098 e 8e8 e 8 a 8 a 88610 c 0 3565 b 61031 d 565 b 61031 d 8e8 d 8 d 8 d 8 b 8 b 89610 e f 3565 b 604080516001808252818301909252929450909250816020015 b 6060815260200190600190039081610337579050509750638 d 0 a 9 b 1 b 60e01 b 736 b 175474e89094 c 44 d a 98 b 954 e e d e a c 495271 d 0 f 88878585604051602001610380929190611 f 26565 b 60408051601 f 19818403018152908290526103 a 0 94939291602401611 e e f 565 b 604051602081830303815290604052906001600160e01 b 0 319166020820180516001600160e01 b 0 38381831617835250505050886000815181106103e057 f e 5 b 6020026020010181905250505050505050509550959350505050565 b 606063e0 e 90 a c f 60e01 b 83833360405160240161041 b 93929190611 f 54565 b 604051602081830303815290604052906001600160e01 b 0 319166020820180516001600160e01 b 0 38381831617835250505050905060006060306001600160 a 0 1 b 0 3168360405161046 c 9190611 e b f 565 b 600060405180830381855 a f 49150503 d 80600081146104 a 7576040519150601 f 19603 f 3 d 0 11682016040523 d 82523 d 6000602084013e6104 a c 565 b 606091505 b 5091509150816104 d 9576104 d 96040518060600160405280602881526020016121 d 5602891398290611278565 b 5050505050565 b 6000826104 e f 575060006106e4565 b 735 e f 30 b 9986345249 b c 32 d 8928 b 7 e e 64 d e 9435e396001600160 a 0 1 b 0 316638161 b 120846040518263 f f f f f f f f 1660e01 b 81526004018082815260200191505060206040518083038186803 b 15801561054757600080 f d 5 b 505 a f a 92505050801561056 c 57506040513 d 602081101561056757600080 f d 5 b 505160015 b 6106 d 3576105786120e0565 b 806105835750610686565 b 806040516020018080742326 b 0 b 5 b 2 b 9172 f b 4 b 9 a b 30 b a b 63 a 27 b b b 732 b 91 d 60591 b 81525060150182805190602001908083835 b 602083106105 d 65780518252601 f 1990920191602091820191016105 b 7565 b 51815160209384036101000 a 60001901801990921691161790526040805192909401828103601 f 190183529384905262461 b c d 60e51 b 84526004840181815282516024860152825192965094508493604401925085019080838360005 b 8381101561064 b 578181015183820152602001610633565 b 50505050905090810190601 f 1680156106785780820380516001836020036101000 a 0 31916815260200191505 b 509250505060405180910390 f d 5 b 6040805162461 b c d 60e51 b 815260206004820152601e60248201527 f 464 d 616 b 65722e5 f 69735661756 c 744 f 776e65723 a 756e646566696 e 65640000604482015290519081900360640190 f d 5 b 6001600160 a 0 1 b 0 383811691161490505 b 92915050565 b 6000735 e f 30 b 9986345249 b c 32 d 8928 b 7 e e 64 d e 9435e39818061070 d 8386611529565 b 915091506000836001600160 a 0 1 b 0 3166336569e776040518163 f f f f f f f f 1660e01 b 815260040160206040518083038186803 b 15801561074 c 57600080 f d 5 b 505 a f a 158015610760573 d 6000803e3 d 6000 f d 5 b 505050506040513 d 602081101561077657600080 f d 5 b 505160408051636 c b 1 c 69 b 60e11 b 81526004810186905290519192506000916001600160 a 0 1 b 0 384169163 d 9638 d 369160248083019260 a 0 929190829003018186803 b 1580156107 c 557600080 f d 5 b 505 a f a 1580156107 d 9573 d 6000803e3 d 6000 f d 5 b 505050506040513 d 60 a 0 8110156107 e f 57600080 f d 5 b 506020
2020-11-28 18:32:43 +00:00
"devdoc" : {
"kind" : "dev" ,
"methods" : {
"connectorID()" : {
"details" : "Connector Details"
} ,
"getDataAndCastMakerToMaker(uint256,uint256,address,string)" : {
"details" : "payable to be compatible in conjunction with DSA.cast payable target" ,
"params" : {
"_colToken" : "vault's col token address ." ,
"_colType" : "colType of the new vault. example : ETH-B, ETH-A." ,
"_vaultAId" : "Id of the unsafe vault of the client of Vault A Collateral." ,
"_vaultBId" : "Id of the vault B Collateral of the client."
}
}
} ,
"version" : 1
} ,
"userdoc" : {
"kind" : "user" ,
"methods" : {
"getDataAndCastMakerToMaker(uint256,uint256,address,string)" : {
"notice" : "Entry Point for DSA.cast DebtBridge from e.g ETH-A to ETH-B"
}
} ,
"version" : 1
} ,
"storageLayout" : {
"storage" : [ ] ,
"types" : null
}
}