UNPKG

@dolomite-exchange/dolomite-margin

Version:

Ethereum Smart Contracts and TypeScript library used for the DolomiteMargin trading protocol

231 lines (230 loc) 7.53 kB
{ "contractName": "TransferProxy", "abi": [ { "inputs": [ { "internalType": "address", "name": "_dolomiteMargin", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "constant": true, "inputs": [], "name": "DOLOMITE_MARGIN", "outputs": [ { "internalType": "contract IDolomiteMargin", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "_caller", "type": "address" } ], "name": "isCallerAuthorized", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "address", "name": "_caller", "type": "address" }, { "internalType": "bool", "name": "_isAuthorized", "type": "bool" } ], "name": "setIsCallerAuthorized", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_fromAccountNumber", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_toAccountNumber", "type": "uint256" }, { "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "uint256", "name": "_amountWei", "type": "uint256" } ], "name": "transfer", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_fromAccountNumber", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_toAccountNumber", "type": "uint256" }, { "internalType": "address[]", "name": "_tokens", "type": "address[]" }, { "internalType": "uint256[]", "name": "_amountsWei", "type": "uint256[]" } ], "name": "transferMultiple", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "internalType": "uint256", "name": "_fromAccountNumber", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_toAccountNumber", "type": "uint256" }, { "internalType": "uint256[]", "name": "_markets", "type": "uint256[]" }, { "internalType": "uint256[]", "name": "_amountsWei", "type": "uint256[]" } ], "name": "transferMultipleWithMarkets", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "networks": { "1": { "links": {}, "address": "0x07C28e60b28C98E09f5b69C9c473FE19062624f8", "transactionHash": "0x04f27f2ace75c60d7ffd7e3073625e98f56807181089d1190552e6e53a6611df" }, "196": { "links": {}, "address": "0xb3F81b0F53CDEe755c70665923e08a8f0e81d0c3", "transactionHash": "0x6b076cd7b3224dec5efb84626219ca7fe08a1fd6e88ce6406b34ed58e9b08a08" }, "1101": { "links": {}, "address": "0xd55AFc5eE5fFdAd3d44829b22E2C2B10a484D33e", "transactionHash": "0x571baf53e4dd1f297e5b29440964e4e175eead3d060acfa49f06d3fab0e42b82" }, "3637": { "links": {}, "address": "0x07C28e60b28C98E09f5b69C9c473FE19062624f8", "transactionHash": "0x68e1fbf807ee8110df5f78cf4a8874d937823a7ed5efdd09e991c948fea6d7b8" }, "5000": { "links": {}, "address": "0x9582378F220c724012c59C376C1910C0549Af66c", "transactionHash": "0x4c2302d91689a774a075db5b1fa8a9a7a3a11d7130b6f1e759fa17bea8c09232" }, "5330": { "links": {}, "address": "0x07C28e60b28C98E09f5b69C9c473FE19062624f8", "transactionHash": "0x4e22b051f488b1f416e9eb7ebb045742ab066c706a9f0349b4312bfbce219ca4" }, "8453": { "links": {}, "address": "0x07C28e60b28C98E09f5b69C9c473FE19062624f8", "transactionHash": "0x5a5f073ea9e10745b95251d102181a0317af7238a364e27f37f4af04ba76d665" }, "42161": { "links": {}, "address": "0xe04f884e8BB9868b6013dEAd84ad5A3B8cb1Df5A", "transactionHash": "0x78c07e77e7074014672397ae59016c8c98380deed0f6e87ba2072e4376bb0d9c" }, "57073": { "links": {}, "address": "0x07C28e60b28C98E09f5b69C9c473FE19062624f8", "transactionHash": "0xb622956ec134edfb109926487691061ba38e4030a24faa777229eec2610c928e" }, "80094": { "links": {}, "address": "0x07C28e60b28C98E09f5b69C9c473FE19062624f8", "transactionHash": "0x72cfa47098b0f8c8af5dacd88e9f1478f772b7f24c0cef5cca6cf6382f72323b" } } }