Repository: raiden-network/raiden-contracts (language: python)

Issue:
Unnecessary argument to claim function
The parameter one_to_n_address in claim (OneToN.sol:71) is useless, because in line 78 you force it to be the address of the contract anyways. I would remove the parameter and just take address(this)


Discussion / hints:

Fix patch:
diff --git a/raiden_contracts/data/contracts.json b/raiden_contracts/data/contracts.json
index 99b2861f7..39e0c20e0 100644
--- a/raiden_contracts/data/contracts.json
+++ b/raiden_contracts/data/contracts.json
@@ -1941,11 +1941,6 @@
                             "name": "expiration_blocks",
                             "type": "uint256[]"
                         },
-                        {
-                            "internalType": "address",
-                            "name": "one_to_n_address",
-                            "type": "address"
-                        },
                         {
                             "internalType": "bytes",
                             "name": "signatures",
@@ -1998,11 +1993,6 @@
                             "name": "expiration_block",
                             "type": "uint256"
                         },
-                        {
-                            "internalType": "address",
-                            "name": "one_to_n_address",
-                            "type": "address"
-                        },
                         {
                             "internalType": "bytes",
                             "name": "signature",
@@ -2199,9 +2189,9 @@
                     "type": "function"
                 }
             ],
-            "bin": "608060405234801561001057600080fd5b50604051610edd380380610edd8339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b039384166001600160a01b031991821617909155600293909355600180549290911691909216179055610e59806100846000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637ae2b5c7116100715780637ae2b5c71461026157806387234237146102845780638e51d6241461030157806399ccb9fe14610324578063c7ae4e2c146104df578063dc291e57146104fc576100b4565b8063187adf2e146100b95780633af973b1146100f55780633ea6b5b41461010f578063631b4903146101335780636d5433e6146102045780637709bc7814610227575b600080fd5b6100dc600480360360408110156100cf57600080fd5b5080359060200135610504565b6040805192835260208301919091528051918290030190f35b6100fd610526565b60408051918252519081900360200190f35b61011761052c565b604080516001600160a01b039092168252519081900360200190f35b6100fd600480360360c081101561014957600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b81111561019057600080fd5b8201836020820111156101a257600080fd5b803590602001918460018302840111600160201b831117156101c357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061053b945050505050565b6100fd6004803603604081101561021a57600080fd5b5080359060200135610951565b61024d6004803603602081101561023d57600080fd5b50356001600160a01b0316610969565b604080519115158252519081900360200190f35b6100fd6004803603604081101561027757600080fd5b508035906020013561096f565b61028c610984565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6100fd6004803603604081101561031757600080fd5b50803590602001356109bd565b6100fd600480360360c081101561033a57600080fd5b810190602081018135600160201b81111561035457600080fd5b82018360208201111561036657600080fd5b803590602001918460208302840111600160201b8311171561038757600080fd5b919390929091602081019035600160201b8111156103a457600080fd5b8201836020820111156103b657600080fd5b803590602001918460208302840111600160201b831117156103d757600080fd5b919390929091602081019035600160201b8111156103f457600080fd5b82018360208201111561040657600080fd5b803590602001918460208302840111600160201b8311171561042757600080fd5b919390929091602081019035600160201b81111561044457600080fd5b82018360208201111561045657600080fd5b803590602001918460208302840111600160201b8311171561047757600080fd5b919390926001600160a01b0383351692604081019060200135600160201b8111156104a157600080fd5b8201836020820111156104b357600080fd5b803590602001918460018302840111600160201b831117156104d457600080fd5b5090925090506109dc565b6100fd600480360360208110156104f557600080fd5b5035610b44565b610117610b56565b6000808284116105165760008461051b565b828403835b915091509250929050565b60025481565b6000546001600160a01b031681565b6001546040805163ebc00c0560e01b81526001600160a01b0388811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561058c57600080fd5b505afa1580156105a0573d6000803e3d6000fd5b505050506040513d60208110156105b657600080fd5b5051610609576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b8343111561064c576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b600061065e8888888860025488610b65565b9050876001600160a01b0316816001600160a01b0316146106bb576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600087898760405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b815260140182815260200193505050506040516020818303038152906040528051906020012090506003600082815260200190815260200160002054600014610776576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038d8116600483015291516107f8938c9316916327e235e3916024808301926020929190829003018186803b1580156107c757600080fd5b505afa1580156107db573d6000803e3d6000fd5b505050506040513d60208110156107f157600080fd5b505161096f565b905080156109445760008281526003602052604090208790558661081857fe5b604080516001600160a01b038c81168252602082018a90528183018490529151918b16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038e811660048301528d81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b1580156108c757600080fd5b505af11580156108db573d6000803e3d6000fd5b505050506040513d60208110156108f157600080fd5b5051610944576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b9998505050505050505050565b60008183116109605781610962565b825b9392505050565b3b151590565b600081831161097e5782610962565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b6000828201838110156109d2576000196109d4565b805b949350505050565b6000808b8a1480156109ed57508b88145b80156109f857508b86145b610a335760405162461bcd60e51b8152600401808060200182810382526039815260200180610dbf6039913960400191505060405180910390fd5b60418c028314610a745760405162461bcd60e51b815260040180806020018281038252602c815260200180610df8602c913960400191505060405180910390fd5b60005b8c811015610b3357610b278e8e83818110610a8e57fe5b905060200201356001600160a01b03168d8d84818110610aaa57fe5b905060200201356001600160a01b03168c8c85818110610ac657fe5b905060200201358b8b86818110610ad957fe5b905060200201358a610b228b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b9250610c8e915050565b61053b565b90910190600101610a77565b509c9b505050505050505050505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610bd85780518252601f199092019160209182019101610bb9565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b815260140183815260200182815260200198505050505050505050604051602081830303815290604052805190602001209050610c828184610cee565b98975050505050505050565b606082518210610c9a57fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60008151604114610cfe57600080fd5b60208201516040830151606084015160001a601b811015610d1d57601b015b8060ff16601b1480610d3257508060ff16601c145b610d3b57600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610d95573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610db557600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a264697066735822122083ad0b5864a48da41c83b314c44855001f5f9e289cf39d88670fd20df3b1746064736f6c63430007060033",
-            "bin-runtime": "608060405234801561001057600080fd5b50600436106100b45760003560e01c80637ae2b5c7116100715780637ae2b5c71461026157806387234237146102845780638e51d6241461030157806399ccb9fe14610324578063c7ae4e2c146104df578063dc291e57146104fc576100b4565b8063187adf2e146100b95780633af973b1146100f55780633ea6b5b41461010f578063631b4903146101335780636d5433e6146102045780637709bc7814610227575b600080fd5b6100dc600480360360408110156100cf57600080fd5b5080359060200135610504565b6040805192835260208301919091528051918290030190f35b6100fd610526565b60408051918252519081900360200190f35b61011761052c565b604080516001600160a01b039092168252519081900360200190f35b6100fd600480360360c081101561014957600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b81111561019057600080fd5b8201836020820111156101a257600080fd5b803590602001918460018302840111600160201b831117156101c357600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061053b945050505050565b6100fd6004803603604081101561021a57600080fd5b5080359060200135610951565b61024d6004803603602081101561023d57600080fd5b50356001600160a01b0316610969565b604080519115158252519081900360200190f35b6100fd6004803603604081101561027757600080fd5b508035906020013561096f565b61028c610984565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6100fd6004803603604081101561031757600080fd5b50803590602001356109bd565b6100fd600480360360c081101561033a57600080fd5b810190602081018135600160201b81111561035457600080fd5b82018360208201111561036657600080fd5b803590602001918460208302840111600160201b8311171561038757600080fd5b919390929091602081019035600160201b8111156103a457600080fd5b8201836020820111156103b657600080fd5b803590602001918460208302840111600160201b831117156103d757600080fd5b919390929091602081019035600160201b8111156103f457600080fd5b82018360208201111561040657600080fd5b803590602001918460208302840111600160201b8311171561042757600080fd5b919390929091602081019035600160201b81111561044457600080fd5b82018360208201111561045657600080fd5b803590602001918460208302840111600160201b8311171561047757600080fd5b919390926001600160a01b0383351692604081019060200135600160201b8111156104a157600080fd5b8201836020820111156104b357600080fd5b803590602001918460018302840111600160201b831117156104d457600080fd5b5090925090506109dc565b6100fd600480360360208110156104f557600080fd5b5035610b44565b610117610b56565b6000808284116105165760008461051b565b828403835b915091509250929050565b60025481565b6000546001600160a01b031681565b6001546040805163ebc00c0560e01b81526001600160a01b0388811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561058c57600080fd5b505afa1580156105a0573d6000803e3d6000fd5b505050506040513d60208110156105b657600080fd5b5051610609576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b8343111561064c576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b600061065e8888888860025488610b65565b9050876001600160a01b0316816001600160a01b0316146106bb576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600087898760405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b815260140182815260200193505050506040516020818303038152906040528051906020012090506003600082815260200190815260200160002054600014610776576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038d8116600483015291516107f8938c9316916327e235e3916024808301926020929190829003018186803b1580156107c757600080fd5b505afa1580156107db573d6000803e3d6000fd5b505050506040513d60208110156107f157600080fd5b505161096f565b905080156109445760008281526003602052604090208790558661081857fe5b604080516001600160a01b038c81168252602082018a90528183018490529151918b16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038e811660048301528d81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b1580156108c757600080fd5b505af11580156108db573d6000803e3d6000fd5b505050506040513d60208110156108f157600080fd5b5051610944576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b9998505050505050505050565b60008183116109605781610962565b825b9392505050565b3b151590565b600081831161097e5782610962565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b6000828201838110156109d2576000196109d4565b805b949350505050565b6000808b8a1480156109ed57508b88145b80156109f857508b86145b610a335760405162461bcd60e51b8152600401808060200182810382526039815260200180610dbf6039913960400191505060405180910390fd5b60418c028314610a745760405162461bcd60e51b815260040180806020018281038252602c815260200180610df8602c913960400191505060405180910390fd5b60005b8c811015610b3357610b278e8e83818110610a8e57fe5b905060200201356001600160a01b03168d8d84818110610aaa57fe5b905060200201356001600160a01b03168c8c85818110610ac657fe5b905060200201358b8b86818110610ad957fe5b905060200201358a610b228b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b9250610c8e915050565b61053b565b90910190600101610a77565b509c9b505050505050505050505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610bd85780518252601f199092019160209182019101610bb9565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b815260140183815260200182815260200198505050505050505050604051602081830303815290604052805190602001209050610c828184610cee565b98975050505050505050565b606082518210610c9a57fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60008151604114610cfe57600080fd5b60208201516040830151606084015160001a601b811015610d1d57601b015b8060ff16601b1480610d3257508060ff16601c145b610d3b57600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610d95573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610db557600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a264697066735822122083ad0b5864a48da41c83b314c44855001f5f9e289cf39d88670fd20df3b1746064736f6c63430007060033",
-            "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_deposit_contract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_chain_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_service_registry_contract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transferred\",\"type\":\"uint256\"}],\"name\":\"Claimed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"receivers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"expiration_blocks\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"one_to_n_address\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"bulkClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chain_id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"one_to_n_address\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"}],\"name\":\"contractExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit_contract\",\"outputs\":[{\"internalType\":\"contract UserDeposit\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_addition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_subtract\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"service_registry_contract\",\"outputs\":[{\"internalType\":\"contract ServiceRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"settled_sessions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signature_prefix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],address,bytes)\":{\"params\":{\"amounts\":\"Owed amounts of tokens\",\"expiration_blocks\":\"Tokens can only be claimed before this time\",\"one_to_n_address\":\"Address of this contract\",\"receivers\":\"Addresses to which the amounts are transferred\",\"senders\":\"Addresses from which the amounts are transferred\",\"signatures\":\"Sender's signatures concatenated into a single bytes array\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"claim(address,address,uint256,uint256,address,bytes)\":{\"params\":{\"amount\":\"Owed amount of tokens\",\"expiration_block\":\"Tokens can only be claimed before this time\",\"one_to_n_address\":\"Address of this contract\",\"receiver\":\"Address to which the amount is transferred\",\"sender\":\"Address from which the amount is transferred\",\"signature\":\"Sender's signature over keccak256(sender, receiver, amount, expiration_block)\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"constructor\":{\"params\":{\"_deposit_contract\":\"Address of UserDeposit contract\",\"_service_registry_contract\":\"Address of ServiceRegistry contract\"}},\"contractExists(address)\":{\"params\":{\"contract_address\":\"The address to check whether a contract is deployed or not\"},\"returns\":{\"_0\":\"True if a contract exists, false otherwise\"}},\"failsafe_addition(uint256,uint256)\":{\"details\":\"Special addition function that does not fail when overflowing.\",\"params\":{\"a\":\"Addend\",\"b\":\"Addend\"},\"returns\":{\"_0\":\"Maximum between the result of the addition or the maximum uint256 value\"}},\"failsafe_subtract(uint256,uint256)\":{\"details\":\"Special subtraction function that does not fail when underflowing.\",\"params\":{\"a\":\"Minuend\",\"b\":\"Subtrahend\"},\"returns\":{\"_0\":\"Minimum between the result of the subtraction and 0, the maximum subtrahend for which no underflow occurs\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],address,bytes)\":{\"notice\":\"Submit multiple IOUs to claim the owed amount. This is the same as calling `claim` multiple times, except for the reduced gas cost.\"},\"claim(address,address,uint256,uint256,address,bytes)\":{\"notice\":\"Submit an IOU to claim the owed amount. If the deposit is smaller than the claim, the remaining deposit is claimed. If no tokens are claimed, `claim` may be retried, later.\"},\"contractExists(address)\":{\"notice\":\"Check if a contract exists\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"data/source/services/OneToN.sol\":\"OneToN\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":.=.\",\":lib=data/source/lib\",\":raiden=data/source/raiden\",\":services=data/source/services\",\":test=data/source/test\"]},\"sources\":{\"data/source/lib/ECVerify.sol\":{\"keccak256\":\"0xeced41e7578af77042e00fc68e482b754cd355da872bfdda95a0b74e3dbd90e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9838dc558bce37a7490ac84f834cb1cf33cba1e13438e1666be7011f03b0ac2\",\"dweb:/ipfs/QmUb9dn1FeZbJCNg5hN7wXapTcP5V52Q554bd97hhYr9qN\"]},\"data/source/lib/MessageType.sol\":{\"keccak256\":\"0xe4a3d54220ba19024c03fac9f8b3338245f2c4aa266627e6cdb5e97a2adcdee4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b1d37be2f7d509e3c32f5e5cd5f58bcd67d11e907678e9343cccc9bc082476f\",\"dweb:/ipfs/QmTW6hUvkxXt5q7MbhtHPjWqdBd1tEC4bd1kFswDGhnvA6\"]},\"data/source/raiden/Controllable.sol\":{\"keccak256\":\"0xccedede2950079f2e4dbe5f89f5a997bea0398828da90b6ef0f66bbd509d305c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b3ffa7945f7bd59dd46b622d69aa5970a5e858c690bf523d8151bf34b9d56c2\",\"dweb:/ipfs/QmcadWAn8FBfsxKrK9ScVCjHsjctBys2AgqGF8PWUij98y\"]},\"data/source/raiden/Token.sol\":{\"keccak256\":\"0x5a8ccb9fa426228d9e213164f22a94b0ac57f1aa15ab76ce88a96177edd7b0b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff1ddcfa729756503a156edda9aa65cbfd0522c449e0451ad3e5b5f72c2da256\",\"dweb:/ipfs/QmVQ4DeSBjo1W5obzasyT1re9jEQW2ydaMuj1GMa1cyKbV\"]},\"data/source/raiden/Utils.sol\":{\"keccak256\":\"0xab7eaa63597bdcd159a5b850d803609433982fc6b064da55f7a491f84525442b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://474f5b45dd380dbfeec9acc1bcc74439b6a339faa3d477fcbfccad5f7723e0c5\",\"dweb:/ipfs/Qma7c54phL72BRciBwN5TLWCMDy8u8yFUVwtnXVPjUmUo1\"]},\"data/source/services/OneToN.sol\":{\"keccak256\":\"0x74601ceae220e28d08f482e7dfe2ed66c51d206907d81cc121bd698b14bc7aea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb790ff2630460b8c5155b1cad05b4f57331dd84ff412bc59c76bbe529d0599c\",\"dweb:/ipfs/QmcJJraErbJe2jvNV2vRGWBi9XpbbffbcqeoXDcKk5b8ss\"]},\"data/source/services/ServiceRegistry.sol\":{\"keccak256\":\"0xacb22c106731315088e7203ad46ac892a29abf5549d86427b812adb9a1899ae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba03b692dd747974d79d06d781b6f0709eaf8d1eccc76bae04ebffbab2354d4f\",\"dweb:/ipfs/QmTUHeruGGafJ3GKbYLgRLHdgcSAghAmpE6GJHcm98LiAt\"]},\"data/source/services/UserDeposit.sol\":{\"keccak256\":\"0x9fe00fb2ce03185f678ffd0c6eed566ca01c380cc12c4ee83e16ec26641c863d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://163281154c33987594367bad0439fe65ad7a30f2f2e6b29bef3db17b67af6a72\",\"dweb:/ipfs/QmUQsWTU2f7iyLdx1HyVE4gKoMsajERY7E1H2pZWwaAqp9\"]}},\"version\":1}"
+            "bin": "608060405234801561001057600080fd5b50604051610eb9380380610eb98339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b039384166001600160a01b031991821617909155600293909355600180549290911691909216179055610e35806100846000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80637709bc78116100715780637709bc78146103cd5780637ae2b5c714610407578063872342371461042a5780638e51d624146104a7578063c7ae4e2c146104ca578063dc291e57146104e7576100b4565b806308c7750e146100b9578063187adf2e146101945780633970df31146101d05780633af973b11461037e5780633ea6b5b4146103865780636d5433e6146103aa575b600080fd5b610182600480360360a08110156100cf57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561010e57600080fd5b82018360208201111561012057600080fd5b803590602001918460018302840111600160201b8311171561014157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506104ef945050505050565b60408051918252519081900360200190f35b6101b7600480360360408110156101aa57600080fd5b5080359060200135610904565b6040805192835260208301919091528051918290030190f35b610182600480360360a08110156101e657600080fd5b810190602081018135600160201b81111561020057600080fd5b82018360208201111561021257600080fd5b803590602001918460208302840111600160201b8311171561023357600080fd5b919390929091602081019035600160201b81111561025057600080fd5b82018360208201111561026257600080fd5b803590602001918460208302840111600160201b8311171561028357600080fd5b919390929091602081019035600160201b8111156102a057600080fd5b8201836020820111156102b257600080fd5b803590602001918460208302840111600160201b831117156102d357600080fd5b919390929091602081019035600160201b8111156102f057600080fd5b82018360208201111561030257600080fd5b803590602001918460208302840111600160201b8311171561032357600080fd5b919390929091602081019035600160201b81111561034057600080fd5b82018360208201111561035257600080fd5b803590602001918460018302840111600160201b8311171561037357600080fd5b509092509050610926565b610182610a8c565b61038e610a92565b604080516001600160a01b039092168252519081900360200190f35b610182600480360360408110156103c057600080fd5b5080359060200135610aa1565b6103f3600480360360208110156103e357600080fd5b50356001600160a01b0316610ab9565b604080519115158252519081900360200190f35b6101826004803603604081101561041d57600080fd5b5080359060200135610abf565b610432610ad4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561046c578181015183820152602001610454565b50505050905090810190601f1680156104995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610182600480360360408110156104bd57600080fd5b5080359060200135610b0d565b610182600480360360208110156104e057600080fd5b5035610b2c565b61038e610b3e565b6001546040805163ebc00c0560e01b81526001600160a01b0387811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561054057600080fd5b505afa158015610554573d6000803e3d6000fd5b505050506040513d602081101561056a57600080fd5b50516105bd576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b82431115610600576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b60006106128787878760025488610b4d565b9050866001600160a01b0316816001600160a01b03161461066f576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600086888660405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b81526014018281526020019350505050604051602081830303815290604052805190602001209050600360008281526020019081526020016000205460001461072a576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038c8116600483015291516107ac938b9316916327e235e3916024808301926020929190829003018186803b15801561077b57600080fd5b505afa15801561078f573d6000803e3d6000fd5b505050506040513d60208110156107a557600080fd5b5051610abf565b905080156108f8576000828152600360205260409020869055856107cc57fe5b604080516001600160a01b038b81168252602082018990528183018490529151918a16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038d811660048301528c81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b15801561087b57600080fd5b505af115801561088f573d6000803e3d6000fd5b505050506040513d60208110156108a557600080fd5b50516108f8576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b98975050505050505050565b6000808284116109165760008461091b565b828403835b915091509250929050565b6000808a8914801561093757508a87145b801561094257508a85145b61097d5760405162461bcd60e51b8152600401808060200182810382526039815260200180610d9b6039913960400191505060405180910390fd5b60418b0283146109be5760405162461bcd60e51b815260040180806020018281038252602c815260200180610dd4602c913960400191505060405180910390fd5b60005b8b811015610a7c57610a708d8d838181106109d857fe5b905060200201356001600160a01b03168c8c848181106109f457fe5b905060200201356001600160a01b03168b8b85818110610a1057fe5b905060200201358a8a86818110610a2357fe5b90506020020135610a6b8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250610c6a915050565b6104ef565b909101906001016109c1565b509b9a5050505050505050505050565b60025481565b6000546001600160a01b031681565b6000818311610ab05781610ab2565b825b9392505050565b3b151590565b6000818311610ace5782610ab2565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b600082820183811015610b2257600019610b24565b805b949350505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610bc05780518252601f199092019160209182019101610ba1565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b8152601401838152602001828152602001985050505050505050506040516020818303038152906040528051906020012090506108f88184610cca565b606082518210610c7657fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60008151604114610cda57600080fd5b60208201516040830151606084015160001a601b811015610cf957601b015b8060ff16601b1480610d0e57508060ff16601c145b610d1757600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610d71573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610d9157600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a2646970667358221220cb7d0671ea26fad93dfd1780aeb4e916ce5d28a4586d231a1460ce50c2e702bd64736f6c63430007060033",
+            "bin-runtime": "608060405234801561001057600080fd5b50600436106100b45760003560e01c80637709bc78116100715780637709bc78146103cd5780637ae2b5c714610407578063872342371461042a5780638e51d624146104a7578063c7ae4e2c146104ca578063dc291e57146104e7576100b4565b806308c7750e146100b9578063187adf2e146101945780633970df31146101d05780633af973b11461037e5780633ea6b5b4146103865780636d5433e6146103aa575b600080fd5b610182600480360360a08110156100cf57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561010e57600080fd5b82018360208201111561012057600080fd5b803590602001918460018302840111600160201b8311171561014157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506104ef945050505050565b60408051918252519081900360200190f35b6101b7600480360360408110156101aa57600080fd5b5080359060200135610904565b6040805192835260208301919091528051918290030190f35b610182600480360360a08110156101e657600080fd5b810190602081018135600160201b81111561020057600080fd5b82018360208201111561021257600080fd5b803590602001918460208302840111600160201b8311171561023357600080fd5b919390929091602081019035600160201b81111561025057600080fd5b82018360208201111561026257600080fd5b803590602001918460208302840111600160201b8311171561028357600080fd5b919390929091602081019035600160201b8111156102a057600080fd5b8201836020820111156102b257600080fd5b803590602001918460208302840111600160201b831117156102d357600080fd5b919390929091602081019035600160201b8111156102f057600080fd5b82018360208201111561030257600080fd5b803590602001918460208302840111600160201b8311171561032357600080fd5b919390929091602081019035600160201b81111561034057600080fd5b82018360208201111561035257600080fd5b803590602001918460018302840111600160201b8311171561037357600080fd5b509092509050610926565b610182610a8c565b61038e610a92565b604080516001600160a01b039092168252519081900360200190f35b610182600480360360408110156103c057600080fd5b5080359060200135610aa1565b6103f3600480360360208110156103e357600080fd5b50356001600160a01b0316610ab9565b604080519115158252519081900360200190f35b6101826004803603604081101561041d57600080fd5b5080359060200135610abf565b610432610ad4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561046c578181015183820152602001610454565b50505050905090810190601f1680156104995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610182600480360360408110156104bd57600080fd5b5080359060200135610b0d565b610182600480360360208110156104e057600080fd5b5035610b2c565b61038e610b3e565b6001546040805163ebc00c0560e01b81526001600160a01b0387811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561054057600080fd5b505afa158015610554573d6000803e3d6000fd5b505050506040513d602081101561056a57600080fd5b50516105bd576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b82431115610600576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b60006106128787878760025488610b4d565b9050866001600160a01b0316816001600160a01b03161461066f576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600086888660405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b81526014018281526020019350505050604051602081830303815290604052805190602001209050600360008281526020019081526020016000205460001461072a576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038c8116600483015291516107ac938b9316916327e235e3916024808301926020929190829003018186803b15801561077b57600080fd5b505afa15801561078f573d6000803e3d6000fd5b505050506040513d60208110156107a557600080fd5b5051610abf565b905080156108f8576000828152600360205260409020869055856107cc57fe5b604080516001600160a01b038b81168252602082018990528183018490529151918a16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038d811660048301528c81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b15801561087b57600080fd5b505af115801561088f573d6000803e3d6000fd5b505050506040513d60208110156108a557600080fd5b50516108f8576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b98975050505050505050565b6000808284116109165760008461091b565b828403835b915091509250929050565b6000808a8914801561093757508a87145b801561094257508a85145b61097d5760405162461bcd60e51b8152600401808060200182810382526039815260200180610d9b6039913960400191505060405180910390fd5b60418b0283146109be5760405162461bcd60e51b815260040180806020018281038252602c815260200180610dd4602c913960400191505060405180910390fd5b60005b8b811015610a7c57610a708d8d838181106109d857fe5b905060200201356001600160a01b03168c8c848181106109f457fe5b905060200201356001600160a01b03168b8b85818110610a1057fe5b905060200201358a8a86818110610a2357fe5b90506020020135610a6b8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250610c6a915050565b6104ef565b909101906001016109c1565b509b9a5050505050505050505050565b60025481565b6000546001600160a01b031681565b6000818311610ab05781610ab2565b825b9392505050565b3b151590565b6000818311610ace5782610ab2565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b600082820183811015610b2257600019610b24565b805b949350505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610bc05780518252601f199092019160209182019101610ba1565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b8152601401838152602001828152602001985050505050505050506040516020818303038152906040528051906020012090506108f88184610cca565b606082518210610c7657fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60008151604114610cda57600080fd5b60208201516040830151606084015160001a601b811015610cf957601b015b8060ff16601b1480610d0e57508060ff16601c145b610d1757600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610d71573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610d9157600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a2646970667358221220cb7d0671ea26fad93dfd1780aeb4e916ce5d28a4586d231a1460ce50c2e702bd64736f6c63430007060033",
+            "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_deposit_contract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_chain_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_service_registry_contract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transferred\",\"type\":\"uint256\"}],\"name\":\"Claimed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"receivers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"expiration_blocks\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"bulkClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chain_id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"}],\"name\":\"contractExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit_contract\",\"outputs\":[{\"internalType\":\"contract UserDeposit\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_addition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_subtract\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"service_registry_contract\",\"outputs\":[{\"internalType\":\"contract ServiceRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"settled_sessions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signature_prefix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],bytes)\":{\"params\":{\"amounts\":\"Owed amounts of tokens\",\"expiration_blocks\":\"Tokens can only be claimed before this time\",\"receivers\":\"Addresses to which the amounts are transferred\",\"senders\":\"Addresses from which the amounts are transferred\",\"signatures\":\"Sender's signatures concatenated into a single bytes array\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"claim(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount\":\"Owed amount of tokens\",\"expiration_block\":\"Tokens can only be claimed before this time\",\"receiver\":\"Address to which the amount is transferred\",\"sender\":\"Address from which the amount is transferred\",\"signature\":\"Sender's signature over keccak256(sender, receiver, amount, expiration_block)\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"constructor\":{\"params\":{\"_deposit_contract\":\"Address of UserDeposit contract\",\"_service_registry_contract\":\"Address of ServiceRegistry contract\"}},\"contractExists(address)\":{\"params\":{\"contract_address\":\"The address to check whether a contract is deployed or not\"},\"returns\":{\"_0\":\"True if a contract exists, false otherwise\"}},\"failsafe_addition(uint256,uint256)\":{\"details\":\"Special addition function that does not fail when overflowing.\",\"params\":{\"a\":\"Addend\",\"b\":\"Addend\"},\"returns\":{\"_0\":\"Maximum between the result of the addition or the maximum uint256 value\"}},\"failsafe_subtract(uint256,uint256)\":{\"details\":\"Special subtraction function that does not fail when underflowing.\",\"params\":{\"a\":\"Minuend\",\"b\":\"Subtrahend\"},\"returns\":{\"_0\":\"Minimum between the result of the subtraction and 0, the maximum subtrahend for which no underflow occurs\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],bytes)\":{\"notice\":\"Submit multiple IOUs to claim the owed amount. This is the same as calling `claim` multiple times, except for the reduced gas cost.\"},\"claim(address,address,uint256,uint256,bytes)\":{\"notice\":\"Submit an IOU to claim the owed amount. If the deposit is smaller than the claim, the remaining deposit is claimed. If no tokens are claimed, `claim` may be retried, later.\"},\"contractExists(address)\":{\"notice\":\"Check if a contract exists\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"data/source/services/OneToN.sol\":\"OneToN\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":.=.\",\":lib=data/source/lib\",\":raiden=data/source/raiden\",\":services=data/source/services\",\":test=data/source/test\"]},\"sources\":{\"data/source/lib/ECVerify.sol\":{\"keccak256\":\"0xeced41e7578af77042e00fc68e482b754cd355da872bfdda95a0b74e3dbd90e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9838dc558bce37a7490ac84f834cb1cf33cba1e13438e1666be7011f03b0ac2\",\"dweb:/ipfs/QmUb9dn1FeZbJCNg5hN7wXapTcP5V52Q554bd97hhYr9qN\"]},\"data/source/lib/MessageType.sol\":{\"keccak256\":\"0xe4a3d54220ba19024c03fac9f8b3338245f2c4aa266627e6cdb5e97a2adcdee4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b1d37be2f7d509e3c32f5e5cd5f58bcd67d11e907678e9343cccc9bc082476f\",\"dweb:/ipfs/QmTW6hUvkxXt5q7MbhtHPjWqdBd1tEC4bd1kFswDGhnvA6\"]},\"data/source/raiden/Controllable.sol\":{\"keccak256\":\"0xccedede2950079f2e4dbe5f89f5a997bea0398828da90b6ef0f66bbd509d305c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b3ffa7945f7bd59dd46b622d69aa5970a5e858c690bf523d8151bf34b9d56c2\",\"dweb:/ipfs/QmcadWAn8FBfsxKrK9ScVCjHsjctBys2AgqGF8PWUij98y\"]},\"data/source/raiden/Token.sol\":{\"keccak256\":\"0x5a8ccb9fa426228d9e213164f22a94b0ac57f1aa15ab76ce88a96177edd7b0b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff1ddcfa729756503a156edda9aa65cbfd0522c449e0451ad3e5b5f72c2da256\",\"dweb:/ipfs/QmVQ4DeSBjo1W5obzasyT1re9jEQW2ydaMuj1GMa1cyKbV\"]},\"data/source/raiden/Utils.sol\":{\"keccak256\":\"0xab7eaa63597bdcd159a5b850d803609433982fc6b064da55f7a491f84525442b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://474f5b45dd380dbfeec9acc1bcc74439b6a339faa3d477fcbfccad5f7723e0c5\",\"dweb:/ipfs/Qma7c54phL72BRciBwN5TLWCMDy8u8yFUVwtnXVPjUmUo1\"]},\"data/source/services/OneToN.sol\":{\"keccak256\":\"0xdd1ff7ef8d44a4072676a8013bccfd6665afea10c323bc31ed2a7021633cf002\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://346c6b079a6fff4f530108c4225890c65f0190e4cc274aba7abd0757e02a8ecf\",\"dweb:/ipfs/Qme5SS6QX1iMtbM7vMkSURWCRcJ5ga5z79YZhXjXKCrc2F\"]},\"data/source/services/ServiceRegistry.sol\":{\"keccak256\":\"0xacb22c106731315088e7203ad46ac892a29abf5549d86427b812adb9a1899ae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba03b692dd747974d79d06d781b6f0709eaf8d1eccc76bae04ebffbab2354d4f\",\"dweb:/ipfs/QmTUHeruGGafJ3GKbYLgRLHdgcSAghAmpE6GJHcm98LiAt\"]},\"data/source/services/UserDeposit.sol\":{\"keccak256\":\"0x9fe00fb2ce03185f678ffd0c6eed566ca01c380cc12c4ee83e16ec26641c863d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://163281154c33987594367bad0439fe65ad7a30f2f2e6b29bef3db17b67af6a72\",\"dweb:/ipfs/QmUQsWTU2f7iyLdx1HyVE4gKoMsajERY7E1H2pZWwaAqp9\"]}},\"version\":1}"
         },
         "OneToNInternalsTest": {
             "abi": [
@@ -2279,11 +2269,6 @@
                             "name": "expiration_blocks",
                             "type": "uint256[]"
                         },
-                        {
-                            "internalType": "address",
-                            "name": "one_to_n_address",
-                            "type": "address"
-                        },
                         {
                             "internalType": "bytes",
                             "name": "signatures",
@@ -2336,11 +2321,6 @@
                             "name": "expiration_block",
                             "type": "uint256"
                         },
-                        {
-                            "internalType": "address",
-                            "name": "one_to_n_address",
-                            "type": "address"
-                        },
                         {
                             "internalType": "bytes",
                             "name": "signature",
@@ -2561,9 +2541,9 @@
                     "type": "function"
                 }
             ],
-            "bin": "608060405234801561001057600080fd5b50604051610faf380380610faf8339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b039384166001600160a01b031991821617909155600293909355600180549290911691909216179055610f2b806100846000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637709bc781161008c5780638e51d624116100665780638e51d624146103c257806399ccb9fe146103e5578063c7ae4e2c146105a0578063dc291e57146105bd576100cf565b80637709bc781461035d5780637ae2b5c71461039757806387234237146103ba576100cf565b8063187adf2e146100d45780633af973b1146101105780633ea6b5b41461012a5780634c0c3a271461014e578063631b4903146102695780636d5433e61461033a575b600080fd5b6100f7600480360360408110156100ea57600080fd5b50803590602001356105c5565b6040805192835260208301919091528051918290030190f35b6101186105e7565b60408051918252519081900360200190f35b6101326105ed565b604080516001600160a01b039092168252519081900360200190f35b6101f46004803603604081101561016457600080fd5b810190602081018135600160201b81111561017e57600080fd5b82018360208201111561019057600080fd5b803590602001918460018302840111600160201b831117156101b157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506105fc915050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022e578181015183820152602001610216565b50505050905090810190601f16801561025b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610118600480360360c081101561027f57600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b8111156102c657600080fd5b8201836020820111156102d857600080fd5b803590602001918460018302840111600160201b831117156102f957600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061060f945050505050565b6101186004803603604081101561035057600080fd5b5080359060200135610a25565b6103836004803603602081101561037357600080fd5b50356001600160a01b0316610a3b565b604080519115158252519081900360200190f35b610118600480360360408110156103ad57600080fd5b5080359060200135610a41565b6101f4610a56565b610118600480360360408110156103d857600080fd5b5080359060200135610a8f565b610118600480360360c08110156103fb57600080fd5b810190602081018135600160201b81111561041557600080fd5b82018360208201111561042757600080fd5b803590602001918460208302840111600160201b8311171561044857600080fd5b919390929091602081019035600160201b81111561046557600080fd5b82018360208201111561047757600080fd5b803590602001918460208302840111600160201b8311171561049857600080fd5b919390929091602081019035600160201b8111156104b557600080fd5b8201836020820111156104c757600080fd5b803590602001918460208302840111600160201b831117156104e857600080fd5b919390929091602081019035600160201b81111561050557600080fd5b82018360208201111561051757600080fd5b803590602001918460208302840111600160201b8311171561053857600080fd5b919390926001600160a01b0383351692604081019060200135600160201b81111561056257600080fd5b82018360208201111561057457600080fd5b803590602001918460018302840111600160201b8311171561059557600080fd5b509092509050610aae565b610118600480360360208110156105b657600080fd5b5035610c16565b610132610c28565b6000808284116105d7576000846105dc565b828403835b915091509250929050565b60025481565b6000546001600160a01b031681565b60606106088383610c37565b9392505050565b6001546040805163ebc00c0560e01b81526001600160a01b0388811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561066057600080fd5b505afa158015610674573d6000803e3d6000fd5b505050506040513d602081101561068a57600080fd5b50516106dd576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b83431115610720576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b60006107328888888860025488610c97565b9050876001600160a01b0316816001600160a01b03161461078f576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600087898760405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b81526014018281526020019350505050604051602081830303815290604052805190602001209050600360008281526020019081526020016000205460001461084a576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038d8116600483015291516108cc938c9316916327e235e3916024808301926020929190829003018186803b15801561089b57600080fd5b505afa1580156108af573d6000803e3d6000fd5b505050506040513d60208110156108c557600080fd5b5051610a41565b90508015610a18576000828152600360205260409020879055866108ec57fe5b604080516001600160a01b038c81168252602082018a90528183018490529151918b16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038e811660048301528d81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b15801561099b57600080fd5b505af11580156109af573d6000803e3d6000fd5b505050506040513d60208110156109c557600080fd5b5051610a18576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b9998505050505050505050565b6000818311610a345781610608565b5090919050565b3b151590565b6000818311610a505782610608565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b600082820183811015610aa457600019610aa6565b805b949350505050565b6000808b8a148015610abf57508b88145b8015610aca57508b86145b610b055760405162461bcd60e51b8152600401808060200182810382526039815260200180610e916039913960400191505060405180910390fd5b60418c028314610b465760405162461bcd60e51b815260040180806020018281038252602c815260200180610eca602c913960400191505060405180910390fd5b60005b8c811015610c0557610bf98e8e83818110610b6057fe5b905060200201356001600160a01b03168d8d84818110610b7c57fe5b905060200201356001600160a01b03168c8c85818110610b9857fe5b905060200201358b8b86818110610bab57fe5b905060200201358a610bf48b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b9250610c37915050565b61060f565b90910190600101610b49565b509c9b505050505050505050505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b606082518210610c4357fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610d0a5780518252601f199092019160209182019101610ceb565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b815260140183815260200182815260200198505050505050505050604051602081830303815290604052805190602001209050610db48184610dc0565b98975050505050505050565b60008151604114610dd057600080fd5b60208201516040830151606084015160001a601b811015610def57601b015b8060ff16601b1480610e0457508060ff16601c145b610e0d57600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610e67573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610e8757600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a264697066735822122006ed3233a2575ec3f3fc8c7041f802b98cad3d3b474224a72cfdae8c367c933564736f6c63430007060033",
-            "bin-runtime": "608060405234801561001057600080fd5b50600436106100cf5760003560e01c80637709bc781161008c5780638e51d624116100665780638e51d624146103c257806399ccb9fe146103e5578063c7ae4e2c146105a0578063dc291e57146105bd576100cf565b80637709bc781461035d5780637ae2b5c71461039757806387234237146103ba576100cf565b8063187adf2e146100d45780633af973b1146101105780633ea6b5b41461012a5780634c0c3a271461014e578063631b4903146102695780636d5433e61461033a575b600080fd5b6100f7600480360360408110156100ea57600080fd5b50803590602001356105c5565b6040805192835260208301919091528051918290030190f35b6101186105e7565b60408051918252519081900360200190f35b6101326105ed565b604080516001600160a01b039092168252519081900360200190f35b6101f46004803603604081101561016457600080fd5b810190602081018135600160201b81111561017e57600080fd5b82018360208201111561019057600080fd5b803590602001918460018302840111600160201b831117156101b157600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050913592506105fc915050565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561022e578181015183820152602001610216565b50505050905090810190601f16801561025b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610118600480360360c081101561027f57600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b8111156102c657600080fd5b8201836020820111156102d857600080fd5b803590602001918460018302840111600160201b831117156102f957600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061060f945050505050565b6101186004803603604081101561035057600080fd5b5080359060200135610a25565b6103836004803603602081101561037357600080fd5b50356001600160a01b0316610a3b565b604080519115158252519081900360200190f35b610118600480360360408110156103ad57600080fd5b5080359060200135610a41565b6101f4610a56565b610118600480360360408110156103d857600080fd5b5080359060200135610a8f565b610118600480360360c08110156103fb57600080fd5b810190602081018135600160201b81111561041557600080fd5b82018360208201111561042757600080fd5b803590602001918460208302840111600160201b8311171561044857600080fd5b919390929091602081019035600160201b81111561046557600080fd5b82018360208201111561047757600080fd5b803590602001918460208302840111600160201b8311171561049857600080fd5b919390929091602081019035600160201b8111156104b557600080fd5b8201836020820111156104c757600080fd5b803590602001918460208302840111600160201b831117156104e857600080fd5b919390929091602081019035600160201b81111561050557600080fd5b82018360208201111561051757600080fd5b803590602001918460208302840111600160201b8311171561053857600080fd5b919390926001600160a01b0383351692604081019060200135600160201b81111561056257600080fd5b82018360208201111561057457600080fd5b803590602001918460018302840111600160201b8311171561059557600080fd5b509092509050610aae565b610118600480360360208110156105b657600080fd5b5035610c16565b610132610c28565b6000808284116105d7576000846105dc565b828403835b915091509250929050565b60025481565b6000546001600160a01b031681565b60606106088383610c37565b9392505050565b6001546040805163ebc00c0560e01b81526001600160a01b0388811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561066057600080fd5b505afa158015610674573d6000803e3d6000fd5b505050506040513d602081101561068a57600080fd5b50516106dd576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b83431115610720576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b60006107328888888860025488610c97565b9050876001600160a01b0316816001600160a01b03161461078f576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600087898760405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b81526014018281526020019350505050604051602081830303815290604052805190602001209050600360008281526020019081526020016000205460001461084a576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038d8116600483015291516108cc938c9316916327e235e3916024808301926020929190829003018186803b15801561089b57600080fd5b505afa1580156108af573d6000803e3d6000fd5b505050506040513d60208110156108c557600080fd5b5051610a41565b90508015610a18576000828152600360205260409020879055866108ec57fe5b604080516001600160a01b038c81168252602082018a90528183018490529151918b16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038e811660048301528d81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b15801561099b57600080fd5b505af11580156109af573d6000803e3d6000fd5b505050506040513d60208110156109c557600080fd5b5051610a18576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b9998505050505050505050565b6000818311610a345781610608565b5090919050565b3b151590565b6000818311610a505782610608565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b600082820183811015610aa457600019610aa6565b805b949350505050565b6000808b8a148015610abf57508b88145b8015610aca57508b86145b610b055760405162461bcd60e51b8152600401808060200182810382526039815260200180610e916039913960400191505060405180910390fd5b60418c028314610b465760405162461bcd60e51b815260040180806020018281038252602c815260200180610eca602c913960400191505060405180910390fd5b60005b8c811015610c0557610bf98e8e83818110610b6057fe5b905060200201356001600160a01b03168d8d84818110610b7c57fe5b905060200201356001600160a01b03168c8c85818110610b9857fe5b905060200201358b8b86818110610bab57fe5b905060200201358a610bf48b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508b9250610c37915050565b61060f565b90910190600101610b49565b509c9b505050505050505050505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b606082518210610c4357fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610d0a5780518252601f199092019160209182019101610ceb565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b815260140183815260200182815260200198505050505050505050604051602081830303815290604052805190602001209050610db48184610dc0565b98975050505050505050565b60008151604114610dd057600080fd5b60208201516040830151606084015160001a601b811015610def57601b015b8060ff16601b1480610e0457508060ff16601c145b610e0d57600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610e67573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610e8757600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a264697066735822122006ed3233a2575ec3f3fc8c7041f802b98cad3d3b474224a72cfdae8c367c933564736f6c63430007060033",
-            "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_deposit_contract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_chain_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_service_registry_contract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transferred\",\"type\":\"uint256\"}],\"name\":\"Claimed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"receivers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"expiration_blocks\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"one_to_n_address\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"bulkClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chain_id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"one_to_n_address\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"}],\"name\":\"contractExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit_contract\",\"outputs\":[{\"internalType\":\"contract UserDeposit\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_addition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_subtract\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"getSingleSignaturePublic\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"service_registry_contract\",\"outputs\":[{\"internalType\":\"contract ServiceRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"settled_sessions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signature_prefix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],address,bytes)\":{\"params\":{\"amounts\":\"Owed amounts of tokens\",\"expiration_blocks\":\"Tokens can only be claimed before this time\",\"one_to_n_address\":\"Address of this contract\",\"receivers\":\"Addresses to which the amounts are transferred\",\"senders\":\"Addresses from which the amounts are transferred\",\"signatures\":\"Sender's signatures concatenated into a single bytes array\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"claim(address,address,uint256,uint256,address,bytes)\":{\"params\":{\"amount\":\"Owed amount of tokens\",\"expiration_block\":\"Tokens can only be claimed before this time\",\"one_to_n_address\":\"Address of this contract\",\"receiver\":\"Address to which the amount is transferred\",\"sender\":\"Address from which the amount is transferred\",\"signature\":\"Sender's signature over keccak256(sender, receiver, amount, expiration_block)\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"contractExists(address)\":{\"params\":{\"contract_address\":\"The address to check whether a contract is deployed or not\"},\"returns\":{\"_0\":\"True if a contract exists, false otherwise\"}},\"failsafe_addition(uint256,uint256)\":{\"details\":\"Special addition function that does not fail when overflowing.\",\"params\":{\"a\":\"Addend\",\"b\":\"Addend\"},\"returns\":{\"_0\":\"Maximum between the result of the addition or the maximum uint256 value\"}},\"failsafe_subtract(uint256,uint256)\":{\"details\":\"Special subtraction function that does not fail when underflowing.\",\"params\":{\"a\":\"Minuend\",\"b\":\"Subtrahend\"},\"returns\":{\"_0\":\"Minimum between the result of the subtraction and 0, the maximum subtrahend for which no underflow occurs\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],address,bytes)\":{\"notice\":\"Submit multiple IOUs to claim the owed amount. This is the same as calling `claim` multiple times, except for the reduced gas cost.\"},\"claim(address,address,uint256,uint256,address,bytes)\":{\"notice\":\"Submit an IOU to claim the owed amount. If the deposit is smaller than the claim, the remaining deposit is claimed. If no tokens are claimed, `claim` may be retried, later.\"},\"contractExists(address)\":{\"notice\":\"Check if a contract exists\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"data/source/test/OneToNInternalsTest.sol\":\"OneToNInternalsTest\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":.=.\",\":lib=data/source/lib\",\":raiden=data/source/raiden\",\":services=data/source/services\",\":test=data/source/test\"]},\"sources\":{\"data/source/lib/ECVerify.sol\":{\"keccak256\":\"0xeced41e7578af77042e00fc68e482b754cd355da872bfdda95a0b74e3dbd90e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9838dc558bce37a7490ac84f834cb1cf33cba1e13438e1666be7011f03b0ac2\",\"dweb:/ipfs/QmUb9dn1FeZbJCNg5hN7wXapTcP5V52Q554bd97hhYr9qN\"]},\"data/source/lib/MessageType.sol\":{\"keccak256\":\"0xe4a3d54220ba19024c03fac9f8b3338245f2c4aa266627e6cdb5e97a2adcdee4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b1d37be2f7d509e3c32f5e5cd5f58bcd67d11e907678e9343cccc9bc082476f\",\"dweb:/ipfs/QmTW6hUvkxXt5q7MbhtHPjWqdBd1tEC4bd1kFswDGhnvA6\"]},\"data/source/raiden/Controllable.sol\":{\"keccak256\":\"0xccedede2950079f2e4dbe5f89f5a997bea0398828da90b6ef0f66bbd509d305c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b3ffa7945f7bd59dd46b622d69aa5970a5e858c690bf523d8151bf34b9d56c2\",\"dweb:/ipfs/QmcadWAn8FBfsxKrK9ScVCjHsjctBys2AgqGF8PWUij98y\"]},\"data/source/raiden/Token.sol\":{\"keccak256\":\"0x5a8ccb9fa426228d9e213164f22a94b0ac57f1aa15ab76ce88a96177edd7b0b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff1ddcfa729756503a156edda9aa65cbfd0522c449e0451ad3e5b5f72c2da256\",\"dweb:/ipfs/QmVQ4DeSBjo1W5obzasyT1re9jEQW2ydaMuj1GMa1cyKbV\"]},\"data/source/raiden/Utils.sol\":{\"keccak256\":\"0xab7eaa63597bdcd159a5b850d803609433982fc6b064da55f7a491f84525442b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://474f5b45dd380dbfeec9acc1bcc74439b6a339faa3d477fcbfccad5f7723e0c5\",\"dweb:/ipfs/Qma7c54phL72BRciBwN5TLWCMDy8u8yFUVwtnXVPjUmUo1\"]},\"data/source/services/OneToN.sol\":{\"keccak256\":\"0x74601ceae220e28d08f482e7dfe2ed66c51d206907d81cc121bd698b14bc7aea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb790ff2630460b8c5155b1cad05b4f57331dd84ff412bc59c76bbe529d0599c\",\"dweb:/ipfs/QmcJJraErbJe2jvNV2vRGWBi9XpbbffbcqeoXDcKk5b8ss\"]},\"data/source/services/ServiceRegistry.sol\":{\"keccak256\":\"0xacb22c106731315088e7203ad46ac892a29abf5549d86427b812adb9a1899ae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba03b692dd747974d79d06d781b6f0709eaf8d1eccc76bae04ebffbab2354d4f\",\"dweb:/ipfs/QmTUHeruGGafJ3GKbYLgRLHdgcSAghAmpE6GJHcm98LiAt\"]},\"data/source/services/UserDeposit.sol\":{\"keccak256\":\"0x9fe00fb2ce03185f678ffd0c6eed566ca01c380cc12c4ee83e16ec26641c863d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://163281154c33987594367bad0439fe65ad7a30f2f2e6b29bef3db17b67af6a72\",\"dweb:/ipfs/QmUQsWTU2f7iyLdx1HyVE4gKoMsajERY7E1H2pZWwaAqp9\"]},\"data/source/test/OneToNInternalsTest.sol\":{\"keccak256\":\"0x1e6557d08004b96e7512da065ef1216179a5d8b3654944bdfba9fa99c6c8f40a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ce535f5499ef88087102424062da400e242ed4cd6b031efd367d679d6795e4\",\"dweb:/ipfs/QmWz6T795EUeYw6Ssok7cUXXwo4DXmUPK3ZdMuHFybGYh8\"]}},\"version\":1}"
+            "bin": "608060405234801561001057600080fd5b50604051610f8b380380610f8b8339818101604052606081101561003357600080fd5b5080516020820151604090920151600080546001600160a01b039384166001600160a01b031991821617909155600293909355600180549290911691909216179055610f07806100846000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636d5433e61161008c578063872342371161006657806387234237146105605780638e51d62414610568578063c7ae4e2c1461058b578063dc291e57146105a8576100cf565b80636d5433e6146104e05780637709bc78146105035780637ae2b5c71461053d576100cf565b806308c7750e146100d4578063187adf2e146101af5780633970df31146101eb5780633af973b1146103995780633ea6b5b4146103a15780634c0c3a27146103c5575b600080fd5b61019d600480360360a08110156100ea57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561012957600080fd5b82018360208201111561013b57600080fd5b803590602001918460018302840111600160201b8311171561015c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105b0945050505050565b60408051918252519081900360200190f35b6101d2600480360360408110156101c557600080fd5b50803590602001356109c5565b6040805192835260208301919091528051918290030190f35b61019d600480360360a081101561020157600080fd5b810190602081018135600160201b81111561021b57600080fd5b82018360208201111561022d57600080fd5b803590602001918460208302840111600160201b8311171561024e57600080fd5b919390929091602081019035600160201b81111561026b57600080fd5b82018360208201111561027d57600080fd5b803590602001918460208302840111600160201b8311171561029e57600080fd5b919390929091602081019035600160201b8111156102bb57600080fd5b8201836020820111156102cd57600080fd5b803590602001918460208302840111600160201b831117156102ee57600080fd5b919390929091602081019035600160201b81111561030b57600080fd5b82018360208201111561031d57600080fd5b803590602001918460208302840111600160201b8311171561033e57600080fd5b919390929091602081019035600160201b81111561035b57600080fd5b82018360208201111561036d57600080fd5b803590602001918460018302840111600160201b8311171561038e57600080fd5b5090925090506109e7565b61019d610b4d565b6103a9610b53565b604080516001600160a01b039092168252519081900360200190f35b61046b600480360360408110156103db57600080fd5b810190602081018135600160201b8111156103f557600080fd5b82018360208201111561040757600080fd5b803590602001918460018302840111600160201b8311171561042857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610b62915050565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104a557818101518382015260200161048d565b50505050905090810190601f1680156104d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61019d600480360360408110156104f657600080fd5b5080359060200135610b75565b6105296004803603602081101561051957600080fd5b50356001600160a01b0316610b8b565b604080519115158252519081900360200190f35b61019d6004803603604081101561055357600080fd5b5080359060200135610b91565b61046b610ba6565b61019d6004803603604081101561057e57600080fd5b5080359060200135610bdf565b61019d600480360360208110156105a157600080fd5b5035610bfe565b6103a9610c10565b6001546040805163ebc00c0560e01b81526001600160a01b0387811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561060157600080fd5b505afa158015610615573d6000803e3d6000fd5b505050506040513d602081101561062b57600080fd5b505161067e576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b824311156106c1576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b60006106d38787878760025488610c1f565b9050866001600160a01b0316816001600160a01b031614610730576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600086888660405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b8152601401828152602001935050505060405160208183030381529060405280519060200120905060036000828152602001908152602001600020546000146107eb576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038c81166004830152915161086d938b9316916327e235e3916024808301926020929190829003018186803b15801561083c57600080fd5b505afa158015610850573d6000803e3d6000fd5b505050506040513d602081101561086657600080fd5b5051610b91565b905080156109b95760008281526003602052604090208690558561088d57fe5b604080516001600160a01b038b81168252602082018990528183018490529151918a16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038d811660048301528c81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b15801561093c57600080fd5b505af1158015610950573d6000803e3d6000fd5b505050506040513d602081101561096657600080fd5b50516109b9576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b98975050505050505050565b6000808284116109d7576000846109dc565b828403835b915091509250929050565b6000808a891480156109f857508a87145b8015610a0357508a85145b610a3e5760405162461bcd60e51b8152600401808060200182810382526039815260200180610e6d6039913960400191505060405180910390fd5b60418b028314610a7f5760405162461bcd60e51b815260040180806020018281038252602c815260200180610ea6602c913960400191505060405180910390fd5b60005b8b811015610b3d57610b318d8d83818110610a9957fe5b905060200201356001600160a01b03168c8c84818110610ab557fe5b905060200201356001600160a01b03168b8b85818110610ad157fe5b905060200201358a8a86818110610ae457fe5b90506020020135610b2c8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250610d3c915050565b6105b0565b90910190600101610a82565b509b9a5050505050505050505050565b60025481565b6000546001600160a01b031681565b6060610b6e8383610d3c565b9392505050565b6000818311610b845781610b6e565b5090919050565b3b151590565b6000818311610ba05782610b6e565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b600082820183811015610bf457600019610bf6565b805b949350505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610c925780518252601f199092019160209182019101610c73565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b8152601401838152602001828152602001985050505050505050506040516020818303038152906040528051906020012090506109b98184610d9c565b606082518210610d4857fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60008151604114610dac57600080fd5b60208201516040830151606084015160001a601b811015610dcb57601b015b8060ff16601b1480610de057508060ff16601c145b610de957600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610e43573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610e6357600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a2646970667358221220492f971f642ac85305f2c6805f32287ff43c3bb22ab640bcea6d6494917bf3da64736f6c63430007060033",
+            "bin-runtime": "608060405234801561001057600080fd5b50600436106100cf5760003560e01c80636d5433e61161008c578063872342371161006657806387234237146105605780638e51d62414610568578063c7ae4e2c1461058b578063dc291e57146105a8576100cf565b80636d5433e6146104e05780637709bc78146105035780637ae2b5c71461053d576100cf565b806308c7750e146100d4578063187adf2e146101af5780633970df31146101eb5780633af973b1146103995780633ea6b5b4146103a15780634c0c3a27146103c5575b600080fd5b61019d600480360360a08110156100ea57600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561012957600080fd5b82018360208201111561013b57600080fd5b803590602001918460018302840111600160201b8311171561015c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105b0945050505050565b60408051918252519081900360200190f35b6101d2600480360360408110156101c557600080fd5b50803590602001356109c5565b6040805192835260208301919091528051918290030190f35b61019d600480360360a081101561020157600080fd5b810190602081018135600160201b81111561021b57600080fd5b82018360208201111561022d57600080fd5b803590602001918460208302840111600160201b8311171561024e57600080fd5b919390929091602081019035600160201b81111561026b57600080fd5b82018360208201111561027d57600080fd5b803590602001918460208302840111600160201b8311171561029e57600080fd5b919390929091602081019035600160201b8111156102bb57600080fd5b8201836020820111156102cd57600080fd5b803590602001918460208302840111600160201b831117156102ee57600080fd5b919390929091602081019035600160201b81111561030b57600080fd5b82018360208201111561031d57600080fd5b803590602001918460208302840111600160201b8311171561033e57600080fd5b919390929091602081019035600160201b81111561035b57600080fd5b82018360208201111561036d57600080fd5b803590602001918460018302840111600160201b8311171561038e57600080fd5b5090925090506109e7565b61019d610b4d565b6103a9610b53565b604080516001600160a01b039092168252519081900360200190f35b61046b600480360360408110156103db57600080fd5b810190602081018135600160201b8111156103f557600080fd5b82018360208201111561040757600080fd5b803590602001918460018302840111600160201b8311171561042857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250610b62915050565b6040805160208082528351818301528351919283929083019185019080838360005b838110156104a557818101518382015260200161048d565b50505050905090810190601f1680156104d25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61019d600480360360408110156104f657600080fd5b5080359060200135610b75565b6105296004803603602081101561051957600080fd5b50356001600160a01b0316610b8b565b604080519115158252519081900360200190f35b61019d6004803603604081101561055357600080fd5b5080359060200135610b91565b61046b610ba6565b61019d6004803603604081101561057e57600080fd5b5080359060200135610bdf565b61019d600480360360208110156105a157600080fd5b5035610bfe565b6103a9610c10565b6001546040805163ebc00c0560e01b81526001600160a01b0387811660048301529151600093929092169163ebc00c0591602480820192602092909190829003018186803b15801561060157600080fd5b505afa158015610615573d6000803e3d6000fd5b505050506040513d602081101561062b57600080fd5b505161067e576040805162461bcd60e51b815260206004820152601760248201527f7265636569766572206e6f742072656769737465726564000000000000000000604482015290519081900360640190fd5b824311156106c1576040805162461bcd60e51b815260206004820152600b60248201526a1253d548195e1c1a5c995960aa1b604482015290519081900360640190fd5b60006106d38787878760025488610c1f565b9050866001600160a01b0316816001600160a01b031614610730576040805162461bcd60e51b81526020600482015260126024820152710a6d2cedcc2e8eae4ca40dad2e6dac2e8c6d60731b604482015290519081900360640190fd5b600086888660405160200180846001600160a01b031660601b8152601401836001600160a01b031660601b8152601401828152602001935050505060405160208183030381529060405280519060200120905060036000828152602001908152602001600020546000146107eb576040805162461bcd60e51b815260206004820152601760248201527f416c726561647920736574746c65642073657373696f6e000000000000000000604482015290519081900360640190fd5b60008054604080516327e235e360e01b81526001600160a01b038c81166004830152915161086d938b9316916327e235e3916024808301926020929190829003018186803b15801561083c57600080fd5b505afa158015610850573d6000803e3d6000fd5b505050506040513d602081101561086657600080fd5b5051610b91565b905080156109b95760008281526003602052604090208690558561088d57fe5b604080516001600160a01b038b81168252602082018990528183018490529151918a16917f2f6639d24651730c7bf57c95ddbf96d66d11477e4ec626876f92c22e5f365e689181900360600190a260008054604080516317d5759960e31b81526001600160a01b038d811660048301528c81166024830152604482018690529151919092169263beabacc892606480820193602093909283900390910190829087803b15801561093c57600080fd5b505af1158015610950573d6000803e3d6000fd5b505050506040513d602081101561096657600080fd5b50516109b9576040805162461bcd60e51b815260206004820152601860248201527f6465706f73697420646964206e6f74207472616e736665720000000000000000604482015290519081900360640190fd5b98975050505050505050565b6000808284116109d7576000846109dc565b828403835b915091509250929050565b6000808a891480156109f857508a87145b8015610a0357508a85145b610a3e5760405162461bcd60e51b8152600401808060200182810382526039815260200180610e6d6039913960400191505060405180910390fd5b60418b028314610a7f5760405162461bcd60e51b815260040180806020018281038252602c815260200180610ea6602c913960400191505060405180910390fd5b60005b8b811015610b3d57610b318d8d83818110610a9957fe5b905060200201356001600160a01b03168c8c84818110610ab557fe5b905060200201356001600160a01b03168b8b85818110610ad157fe5b905060200201358a8a86818110610ae457fe5b90506020020135610b2c8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250610d3c915050565b6105b0565b90910190600101610a82565b509b9a5050505050505050505050565b60025481565b6000546001600160a01b031681565b6060610b6e8383610d3c565b9392505050565b6000818311610b845781610b6e565b5090919050565b3b151590565b6000818311610ba05782610b6e565b50919050565b6040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a00000000000081525081565b600082820183811015610bf457600019610bf6565b805b949350505050565b60036020526000908152604090205481565b6001546001600160a01b031681565b60408051808201909152601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201526000908190308560058b8b8b8b6040516020018089805190602001908083835b60208310610c925780518252601f199092019160209182019101610c73565b6001836020036101000a038019825116818451168082178552505050505050905001806206270760eb1b815250600301886001600160a01b031660601b8152601401878152602001868152602001856001600160a01b031660601b8152601401846001600160a01b031660601b8152601401838152602001828152602001985050505050505050506040516020818303038152906040528051906020012090506109b98184610d9c565b606082518210610d4857fe5b60408051606080825260808201909252604184029160009190602082018180368337019050509185016020818101519084015260408082015190840152606090810151908301525060418152905092915050565b60008151604114610dac57600080fd5b60208201516040830151606084015160001a601b811015610dcb57601b015b8060ff16601b1480610de057508060ff16601c145b610de957600080fd5b60018682858560405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015610e43573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b038416610e6357600080fd5b5050509291505056fe53616d65206e756d626572206f6620656c656d656e747320726571756972656420666f7220616c6c20696e70757420706172616d6574657273607369676e617475726573602073686f756c6420636f6e7461696e2036352062797465732070657220494f55a2646970667358221220492f971f642ac85305f2c6805f32287ff43c3bb22ab640bcea6d6494917bf3da64736f6c63430007060033",
+            "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_deposit_contract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_chain_id\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_service_registry_contract\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"transferred\",\"type\":\"uint256\"}],\"name\":\"Claimed\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"senders\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"receivers\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"expiration_blocks\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"bulkClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chain_id\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiration_block\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_address\",\"type\":\"address\"}],\"name\":\"contractExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit_contract\",\"outputs\":[{\"internalType\":\"contract UserDeposit\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_addition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"failsafe_subtract\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"getSingleSignaturePublic\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"max\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"a\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"b\",\"type\":\"uint256\"}],\"name\":\"min\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"service_registry_contract\",\"outputs\":[{\"internalType\":\"contract ServiceRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"settled_sessions\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signature_prefix\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],bytes)\":{\"params\":{\"amounts\":\"Owed amounts of tokens\",\"expiration_blocks\":\"Tokens can only be claimed before this time\",\"receivers\":\"Addresses to which the amounts are transferred\",\"senders\":\"Addresses from which the amounts are transferred\",\"signatures\":\"Sender's signatures concatenated into a single bytes array\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"claim(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount\":\"Owed amount of tokens\",\"expiration_block\":\"Tokens can only be claimed before this time\",\"receiver\":\"Address to which the amount is transferred\",\"sender\":\"Address from which the amount is transferred\",\"signature\":\"Sender's signature over keccak256(sender, receiver, amount, expiration_block)\"},\"returns\":{\"_0\":\"Amount of transferred tokens\"}},\"contractExists(address)\":{\"params\":{\"contract_address\":\"The address to check whether a contract is deployed or not\"},\"returns\":{\"_0\":\"True if a contract exists, false otherwise\"}},\"failsafe_addition(uint256,uint256)\":{\"details\":\"Special addition function that does not fail when overflowing.\",\"params\":{\"a\":\"Addend\",\"b\":\"Addend\"},\"returns\":{\"_0\":\"Maximum between the result of the addition or the maximum uint256 value\"}},\"failsafe_subtract(uint256,uint256)\":{\"details\":\"Special subtraction function that does not fail when underflowing.\",\"params\":{\"a\":\"Minuend\",\"b\":\"Subtrahend\"},\"returns\":{\"_0\":\"Minimum between the result of the subtraction and 0, the maximum subtrahend for which no underflow occurs\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"bulkClaim(address[],address[],uint256[],uint256[],bytes)\":{\"notice\":\"Submit multiple IOUs to claim the owed amount. This is the same as calling `claim` multiple times, except for the reduced gas cost.\"},\"claim(address,address,uint256,uint256,bytes)\":{\"notice\":\"Submit an IOU to claim the owed amount. If the deposit is smaller than the claim, the remaining deposit is claimed. If no tokens are claimed, `claim` may be retried, later.\"},\"contractExists(address)\":{\"notice\":\"Check if a contract exists\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"data/source/test/OneToNInternalsTest.sol\":\"OneToNInternalsTest\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":.=.\",\":lib=data/source/lib\",\":raiden=data/source/raiden\",\":services=data/source/services\",\":test=data/source/test\"]},\"sources\":{\"data/source/lib/ECVerify.sol\":{\"keccak256\":\"0xeced41e7578af77042e00fc68e482b754cd355da872bfdda95a0b74e3dbd90e0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9838dc558bce37a7490ac84f834cb1cf33cba1e13438e1666be7011f03b0ac2\",\"dweb:/ipfs/QmUb9dn1FeZbJCNg5hN7wXapTcP5V52Q554bd97hhYr9qN\"]},\"data/source/lib/MessageType.sol\":{\"keccak256\":\"0xe4a3d54220ba19024c03fac9f8b3338245f2c4aa266627e6cdb5e97a2adcdee4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b1d37be2f7d509e3c32f5e5cd5f58bcd67d11e907678e9343cccc9bc082476f\",\"dweb:/ipfs/QmTW6hUvkxXt5q7MbhtHPjWqdBd1tEC4bd1kFswDGhnvA6\"]},\"data/source/raiden/Controllable.sol\":{\"keccak256\":\"0xccedede2950079f2e4dbe5f89f5a997bea0398828da90b6ef0f66bbd509d305c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b3ffa7945f7bd59dd46b622d69aa5970a5e858c690bf523d8151bf34b9d56c2\",\"dweb:/ipfs/QmcadWAn8FBfsxKrK9ScVCjHsjctBys2AgqGF8PWUij98y\"]},\"data/source/raiden/Token.sol\":{\"keccak256\":\"0x5a8ccb9fa426228d9e213164f22a94b0ac57f1aa15ab76ce88a96177edd7b0b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ff1ddcfa729756503a156edda9aa65cbfd0522c449e0451ad3e5b5f72c2da256\",\"dweb:/ipfs/QmVQ4DeSBjo1W5obzasyT1re9jEQW2ydaMuj1GMa1cyKbV\"]},\"data/source/raiden/Utils.sol\":{\"keccak256\":\"0xab7eaa63597bdcd159a5b850d803609433982fc6b064da55f7a491f84525442b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://474f5b45dd380dbfeec9acc1bcc74439b6a339faa3d477fcbfccad5f7723e0c5\",\"dweb:/ipfs/Qma7c54phL72BRciBwN5TLWCMDy8u8yFUVwtnXVPjUmUo1\"]},\"data/source/services/OneToN.sol\":{\"keccak256\":\"0xdd1ff7ef8d44a4072676a8013bccfd6665afea10c323bc31ed2a7021633cf002\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://346c6b079a6fff4f530108c4225890c65f0190e4cc274aba7abd0757e02a8ecf\",\"dweb:/ipfs/Qme5SS6QX1iMtbM7vMkSURWCRcJ5ga5z79YZhXjXKCrc2F\"]},\"data/source/services/ServiceRegistry.sol\":{\"keccak256\":\"0xacb22c106731315088e7203ad46ac892a29abf5549d86427b812adb9a1899ae3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba03b692dd747974d79d06d781b6f0709eaf8d1eccc76bae04ebffbab2354d4f\",\"dweb:/ipfs/QmTUHeruGGafJ3GKbYLgRLHdgcSAghAmpE6GJHcm98LiAt\"]},\"data/source/services/UserDeposit.sol\":{\"keccak256\":\"0x9fe00fb2ce03185f678ffd0c6eed566ca01c380cc12c4ee83e16ec26641c863d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://163281154c33987594367bad0439fe65ad7a30f2f2e6b29bef3db17b67af6a72\",\"dweb:/ipfs/QmUQsWTU2f7iyLdx1HyVE4gKoMsajERY7E1H2pZWwaAqp9\"]},\"data/source/test/OneToNInternalsTest.sol\":{\"keccak256\":\"0x1e6557d08004b96e7512da065ef1216179a5d8b3654944bdfba9fa99c6c8f40a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9ce535f5499ef88087102424062da400e242ed4cd6b031efd367d679d6795e4\",\"dweb:/ipfs/QmWz6T795EUeYw6Ssok7cUXXwo4DXmUPK3ZdMuHFybGYh8\"]}},\"version\":1}"
         },
         "SecretRegistry": {
             "abi": [
@@ -10790,7 +10770,7 @@
         "MessageType.sol": "50a09fad7be0a53dd477429f8bc0a4d38d39b120aad6d74753a8809bbcf09138",
         "MonitoringService.sol": "07e1564937ba7dd8862d3ec30223eb43dfd4a47811e67851468295c21b1b5903",
         "MonitoringServiceInternalsTest.sol": "91e72a9985405c034c910ed5ca9a31658a0a1e131a77f78eab1546bda6852424",
-        "OneToN.sol": "e2ce35a998687bd4ae07c6b80e68801b0dfcf6fb7339da623f325fbf04e6b9ac",
+        "OneToN.sol": "7ede1d6f2b46cf77847741ddb288cedc77666a636b057efea9c44bab24f4604d",
         "OneToNInternalsTest.sol": "d0d0af12d939d3f3e6dd364a6dc2229e714b6ee6a398617b36388b863b8bc06c",
         "SecretRegistry.sol": "ef39a3eb7c971e82b3bc9757a0b2eb6d34e84f12fb65cb0a0fe4767c5d1a2c2f",
         "ServiceRegistry.sol": "663793fad5651deb894e17f7c7b03a0e03d72d12bfd3e6e9cac2c4cd460dddd8",
@@ -10805,5 +10785,5 @@
         "Utils.sol": "3812c07a335c9c5e13e6a3d72aa50b3b14548b6fc5151578a834b44c7e229b19"
     },
     "contracts_version": null,
-    "overall_checksum": "ae0b712d8f477ed4321b987f2055ea58dfc3637f3ef73a3f4a04c062b96e7adc"
+    "overall_checksum": "8a73d1dc6fa1f1ad57b88e611f2acf6d69f361b7a703801292c60301bc9073f3"
 }
\ No newline at end of file
diff --git a/raiden_contracts/data/gas.json b/raiden_contracts/data/gas.json
index b26a5932c..82a7c0e6b 100644
--- a/raiden_contracts/data/gas.json
+++ b/raiden_contracts/data/gas.json
@@ -4,10 +4,10 @@
     "CustomToken.transfer": 36269,
     "CustomToken.transferFrom": 28799,
     "MonitoringService.claimReward": 45221,
-    "MonitoringService.monitor": 226163,
-    "OneToN.bulkClaim 1 ious": 105912,
-    "OneToN.bulkClaim 6 ious": 161359,
-    "OneToN.claim": 103330,
+    "MonitoringService.monitor": 226165,
+    "OneToN.bulkClaim 1 ious": 105506,
+    "OneToN.bulkClaim 6 ious": 160889,
+    "OneToN.claim": 102885,
     "SecretRegistry.registerSecret": 46177,
     "SecretRegistry.registerSecretBatch1": 46603,
     "SecretRegistry.registerSecretBatch2": 71277,
@@ -15,16 +15,16 @@
     "ServiceRegistry.deposit": 459029,
     "ServiceRegistry.setURL": 47086,
     "TokenNetwork DEPLOYMENT": 3881671,
-    "TokenNetwork.closeChannel": 120671,
-    "TokenNetwork.cooperativeSettle": 113740,
+    "TokenNetwork.closeChannel": 120636,
+    "TokenNetwork.cooperativeSettle": 113706,
     "TokenNetwork.openChannel": 113256,
-    "TokenNetwork.openChannelWithDeposit": 149267,
-    "TokenNetwork.setTotalDeposit": 55830,
-    "TokenNetwork.setTotalWithdraw": 116962,
-    "TokenNetwork.settleChannel": 108372,
-    "TokenNetwork.unlock 1 locks": 38471,
-    "TokenNetwork.unlock 6 locks": 52829,
-    "TokenNetwork.updateNonClosingBalanceProof": 92817,
+    "TokenNetwork.openChannelWithDeposit": 149269,
+    "TokenNetwork.setTotalDeposit": 55831,
+    "TokenNetwork.setTotalWithdraw": 116961,
+    "TokenNetwork.settleChannel": 108373,
+    "TokenNetwork.unlock 1 locks": 38470,
+    "TokenNetwork.unlock 6 locks": 52806,
+    "TokenNetwork.updateNonClosingBalanceProof": 92833,
     "TokenNetworkRegistry DEPLOYMENT": 4648463,
     "TokenNetworkRegistry createERC20TokenNetwork": 3657298,
     "UserDeposit.deposit": 97538,
diff --git a/raiden_contracts/data/source/services/OneToN.sol b/raiden_contracts/data/source/services/OneToN.sol
index f76b51d52..1a43fcacd 100644
--- a/raiden_contracts/data/source/services/OneToN.sol
+++ b/raiden_contracts/data/source/services/OneToN.sol
@@ -60,7 +60,6 @@ contract OneToN is Utils {
     /// @param receiver Address to which the amount is transferred
     /// @param amount Owed amount of tokens
     /// @param expiration_block Tokens can only be claimed before this time
-    /// @param one_to_n_address Address of this contract
     /// @param signature Sender's signature over keccak256(sender, receiver, amount, expiration_block)
     /// @return Amount of transferred tokens
     function claim(
@@ -68,7 +67,6 @@ contract OneToN is Utils {
         address receiver,
         uint256 amount,
         uint256 expiration_block,
-        address one_to_n_address,
         bytes memory signature
     )
         public
@@ -111,7 +109,6 @@ contract OneToN is Utils {
     /// @param receivers Addresses to which the amounts are transferred
     /// @param amounts Owed amounts of tokens
     /// @param expiration_blocks Tokens can only be claimed before this time
-    /// @param one_to_n_address Address of this contract
     /// @param signatures Sender's signatures concatenated into a single bytes array
     /// @return Amount of transferred tokens
     function bulkClaim(
@@ -119,7 +116,6 @@ contract OneToN is Utils {
         address[] calldata receivers,
         uint256[] calldata amounts,
         uint256[] calldata expiration_blocks,
-        address one_to_n_address,
         bytes calldata signatures
     )
         external
@@ -142,7 +138,6 @@ contract OneToN is Utils {
                 receivers[i],
                 amounts[i],
                 expiration_blocks[i],
-                one_to_n_address,
                 getSingleSignature(signatures, i)
             );
         }


Test patch:
diff --git a/raiden_contracts/tests/fixtures/one_to_n.py b/raiden_contracts/tests/fixtures/one_to_n.py
index 1ae56e193..54701d6c7 100644
--- a/raiden_contracts/tests/fixtures/one_to_n.py
+++ b/raiden_contracts/tests/fixtures/one_to_n.py
@@ -65,6 +65,7 @@ def f(
         )
         iou["signature"] = sign_one_to_n_iou(get_private_key(sender), **iou)  # type: ignore
         del iou["chain_id"]
+        del iou["one_to_n_address"]
         return iou
 
     return f
diff --git a/raiden_contracts/tests/test_one_to_n.py b/raiden_contracts/tests/test_one_to_n.py
index 4c6b72c09..13fed69b3 100644
--- a/raiden_contracts/tests/test_one_to_n.py
+++ b/raiden_contracts/tests/test_one_to_n.py
@@ -95,7 +95,6 @@ def bulk_claim(ious: List[dict]) -> HexBytes:
                 receivers=[x["receiver"] for x in ious],
                 amounts=[x["amount"] for x in ious],
                 expiration_blocks=[x["expiration_block"] for x in ious],
-                one_to_n_address=one_to_n_contract.address,
                 signatures=b"".join(x["signature"] for x in ious),
             ),
             {"from": A},
@@ -139,7 +138,6 @@ def test_bulk_claim_errors(
                 receivers=receivers,
                 amounts=amounts + [1],
                 expiration_blocks=expiration_blocks,
-                one_to_n_address=one_to_n_contract.address,
                 signatures=signatures,
             ),
             {"from": A},
@@ -156,7 +154,6 @@ def test_bulk_claim_errors(
                     receivers=receivers,
                     amounts=amounts,
                     expiration_blocks=expiration_blocks,
-                    one_to_n_address=one_to_n_contract.address,
                     signatures=sig,
                 ),
                 {"from": A},
@@ -170,7 +167,6 @@ def test_bulk_claim_errors(
                 receivers=receivers,
                 amounts=[amounts[0], amounts[1] + 1],
                 expiration_blocks=expiration_blocks,
-                one_to_n_address=one_to_n_contract.address,
                 signatures=signatures,
             ),
             {"from": A},
@@ -226,7 +222,6 @@ def test_claim_by_unregistered_service(
                 receiver=B,
                 amount=amount,
                 expiration_block=expiration,
-                one_to_n_address=one_to_n_contract.address,
                 signature=signature,
             ),
             {"from": A},
@@ -264,16 +259,12 @@ def test_claim_with_insufficient_deposit(
     # amount is 10, but only 6 are in deposit
     # check return value (transactions don't give back return values, so use call)
     assert (
-        one_to_n_contract.functions.claim(
-            A, B, amount, expiration, one_to_n_contract.address, signature
-        ).call({"from": A})
+        one_to_n_contract.functions.claim(A, B, amount, expiration, signature).call({"from": A})
         == 6
     )
     # check that transaction succeeds
     call_and_transact(
-        one_to_n_contract.functions.claim(
-            A, B, amount, expiration, one_to_n_contract.address, signature
-        ),
+        one_to_n_contract.functions.claim(A, B, amount, expiration, signature),
         {"from": A},
     )
 
@@ -292,16 +283,12 @@ def test_claim_with_insufficient_deposit(
         chain_id=ChainID(chain_id),
     )
     call_and_transact(
-        one_to_n_contract.functions.claim(
-            A, B, amount, expiration, one_to_n_contract.address, signature
-        ),
+        one_to_n_contract.functions.claim(A, B, amount, expiration, signature),
         {"from": A},
     )
     deposit_to_udc(A, 6 + 4)
     tx_hash = call_and_transact(
-        one_to_n_contract.functions.claim(
-            A, B, amount, expiration, one_to_n_contract.address, signature
-        ),
+        one_to_n_contract.functions.claim(A, B, amount, expiration, signature),
         {"from": A},
     )
     ev_handler.assert_event(
diff --git a/raiden_contracts/tests/test_print_gas.py b/raiden_contracts/tests/test_print_gas.py
index 63ae08f28..eb12dc3da 100644
--- a/raiden_contracts/tests/test_print_gas.py
+++ b/raiden_contracts/tests/test_print_gas.py
@@ -445,9 +445,7 @@ def print_gas_one_to_n(
         chain_id=ChainID(chain_id),
     )
     txn_hash = call_and_transact(
-        one_to_n_contract.functions.claim(
-            A, B, amount, expiration, one_to_n_contract.address, signature
-        ),
+        one_to_n_contract.functions.claim(A, B, amount, expiration, signature),
         {"from": A},
     )
 
@@ -474,7 +472,6 @@ def concat_iou_signatures(ious: List[Dict]) -> bytes:
                 concat_iou_data(ious, "receiver"),
                 concat_iou_data(ious, "amount"),
                 concat_iou_data(ious, "expiration_block"),
-                one_to_n_contract.address,
                 concat_iou_signatures(ious),
             ),
             {"from": A},