|
| 1 | +{ |
| 2 | + "name": "Token Registry", |
| 3 | + "addresses": { |
| 4 | + "main": [ |
| 5 | + "0x93DB90445B76329e9ed96ECd74e76D8fbf2590d8" |
| 6 | + ], |
| 7 | + "rinkeby": [ |
| 8 | + "0x03165DF66d9448E45c2f5137486af3E7e752a352" |
| 9 | + ], |
| 10 | + "kovan": [ |
| 11 | + "0x2C337c91A7FA83273F6D13721a2324c8B324f46e" |
| 12 | + ], |
| 13 | + "private": [ |
| 14 | + "0xAB8278343a98b50D7eca37c97CcB53393B82D049" |
| 15 | + ] |
| 16 | + }, |
| 17 | + "actions": [ |
| 18 | + { |
| 19 | + "id": "addTokens", |
| 20 | + "label": "Add tokens", |
| 21 | + "description": "Add tokens to the Token Registry", |
| 22 | + "notes": "A list of available ListIds can be found <a target=\"_blank\" href=\"https://www.notion.so/DxDAO-Token-Registry-Lists-220e1411482342c4a7e47a641a676fcb\">here</a>", |
| 23 | + "fields": [ |
| 24 | + { |
| 25 | + "label": "ListId", |
| 26 | + "name": "_listId" |
| 27 | + }, |
| 28 | + { |
| 29 | + "label": "Tokens", |
| 30 | + "name": "_tokens", |
| 31 | + "placeholder":"Address (0x0000…)" |
| 32 | + } |
| 33 | + ], |
| 34 | + "abi": { |
| 35 | + "inputs": [ |
| 36 | + { |
| 37 | + "internalType": "uint256", |
| 38 | + "name": "_listId", |
| 39 | + "type": "uint256" |
| 40 | + }, |
| 41 | + { |
| 42 | + "internalType": "address[]", |
| 43 | + "name": "_tokens", |
| 44 | + "type": "address[]" |
| 45 | + } |
| 46 | + ], |
| 47 | + "name": "addTokens", |
| 48 | + "outputs": [], |
| 49 | + "stateMutability": "nonpayable", |
| 50 | + "type": "function" |
| 51 | + } |
| 52 | + }, |
| 53 | + { |
| 54 | + "id": "removeTokens", |
| 55 | + "label": "Remove tokens", |
| 56 | + "description": "Remove tokens from the Token Registry", |
| 57 | + "notes": "A list of available ListIds can be found <a target=\"_blank\" href=\"https://www.notion.so/DxDAO-Token-Registry-Lists-220e1411482342c4a7e47a641a676fcb\">here</a>", |
| 58 | + "fields": [ |
| 59 | + { |
| 60 | + "label": "ListId", |
| 61 | + "name": "_listId" |
| 62 | + }, |
| 63 | + { |
| 64 | + "label": "Tokens", |
| 65 | + "name": "_tokens", |
| 66 | + "placeholder":"Address (0x0000…)" |
| 67 | + } |
| 68 | + ], |
| 69 | + "abi": { |
| 70 | + "inputs": [ |
| 71 | + { |
| 72 | + "internalType": "uint256", |
| 73 | + "name": "_listId", |
| 74 | + "type": "uint256" |
| 75 | + }, |
| 76 | + { |
| 77 | + "internalType": "address[]", |
| 78 | + "name": "_tokens", |
| 79 | + "type": "address[]" |
| 80 | + } |
| 81 | + ], |
| 82 | + "name": "removeTokens", |
| 83 | + "outputs": [], |
| 84 | + "stateMutability": "nonpayable", |
| 85 | + "type": "function" |
| 86 | + } |
| 87 | + }, |
| 88 | + { |
| 89 | + "id": "transferOwnership", |
| 90 | + "label": "Transfer Ownership", |
| 91 | + "description": "Transfer ownership of the registry contract", |
| 92 | + "notes": "", |
| 93 | + "fields": [ |
| 94 | + { |
| 95 | + "label": "New owner", |
| 96 | + "name": "newOwner", |
| 97 | + "placeholder": "Address (0x0000…)" |
| 98 | + } |
| 99 | + ], |
| 100 | + "abi": { |
| 101 | + "constant": false, |
| 102 | + "inputs": [ |
| 103 | + { |
| 104 | + "name": "newOwner", |
| 105 | + "type": "address" |
| 106 | + } |
| 107 | + ], |
| 108 | + "name": "transferOwnership", |
| 109 | + "outputs": [], |
| 110 | + "payable": false, |
| 111 | + "stateMutability": "nonpayable", |
| 112 | + "type": "function" |
| 113 | + } |
| 114 | + } |
| 115 | + ] |
| 116 | +} |
0 commit comments