SkillAgentSearch skills...

Multiplexer

Contract for sending ETH or ERC20 to multiple addresses in one transaction

Install / Use

/learn @DigixGlobal/Multiplexer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Multiplexer

See /build/contracts/Multiplexer.json for deployment details.

Usage

You must pass an array of addresses and an array of values to send to those addresses (by index)

Send Ether

function sendEth(address[] _to, uint256[] _value) payable returns (bool _success)

Send ERC20 Tokens

First you must approve the multiplexer contract address with enough tokens to process your request

function sendErc20(address _tokenAddress, address[] _to, uint256[] _value) returns (bool _success)
View on GitHub
GitHub Stars20
CategoryDevelopment
Updated4y ago
Forks18

Languages

JavaScript

Security Score

75/100

Audited on Feb 21, 2022

No findings