Verified contractPartial
Vyper_contract
Address0x2e89c7e795a162acda3eaac8f4abbb321517f20f
- Balance
0 ETH
- Transactions
37
- Compiler
vyper 0.3.6
- Same code
Only this contract
Details
- Compiler
- vyper 0.3.6+commit.4a2124d0
- Language
- vyper
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 15,494,618
- Creation transaction
- 0xa4a64735c3…499f914e2a
Vyper_contract.vy
# @version 0.3.6
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)Compiler settingsShow
{}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.