Address Contract Partially Verified
Address
0x1d5B5EAffd3e8bd9404470Fb9167cbd46A93a30b
Balance
0 ETH
Nonce
1
Code Size
333 bytes
Creator
0xA3b473B9...f34E at tx 0x38d5277f...9320d3
Indexed Transactions
0
Contract Bytecode
333 bytes
0x6003361161000c57610138565b5f3560e01c63c091c4358118610136576084361061013c5760043560040161010081351161013c5780355f81610100811161013c57801561006e57905b8060051b6020850101358060a01c61013c578160051b60600152600101818118610049575b505080604052505060243560040161010081351161013c578035602082018160051b8082612080375050806120605250505f5460021461013c5760025f55612060516040511861013c575f614080525f604051610100811161013c57801561011a57905b8060051b606001516140a0525f5f5f5f614080516120605181101561013c5760051b61208001516140a0515ff11561013c5760016140805101614080526001018181186100d2575b50504715610130575f5f5f5f47335ff11561013c575b60035f55005b505b5f5ffd5b5f80fda165767970657283000309000b
Verified Source Code Partial Match
Compiler: v0.3.9+commit.66b96705
PalomaGasRefund.vy 19 lines
# @version 0.3.9
"""
@title Paloma Gas Refund
@license Apache 2.0
@author Volume.finance
"""
MAX_SIZE: constant(uint256) = 256
@external
@payable
@nonreentrant("lock")
def refund(receivers: DynArray[address, MAX_SIZE], amounts: DynArray[uint256, MAX_SIZE]):
assert len(receivers) == len(amounts)
i: uint256 = 0
for receiver in receivers:
send(receiver, amounts[i])
i = unsafe_add(i, 1)
if self.balance > 0:
send(msg.sender, self.balance)
Vyper_contract.vy 15 lines
# @version 0.3.9
MAX_SIZE: constant(uint256) = 256
@external
@payable
@nonreentrant("lock")
def refund(receivers: DynArray[address, MAX_SIZE], amounts: DynArray[uint256, MAX_SIZE]):
assert len(receivers) == len(amounts)
i: uint256 = 0
for receiver in receivers:
send(receiver, amounts[i])
i = unsafe_add(i, 1)
if self.balance > 0:
send(msg.sender, self.balance)
Write Contract 1 functions
These functions modify contract state and require a wallet transaction to execute.
refund 0xc091c435
address[] receivers
uint256[] amounts
Recent Transactions
No transactions found for this address