Questions tagged [erc-223]

For questions regarding the use of tokens using the ERC223 standard.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Retrieving ERC-223 token address on tokenFallback() function

I made a sample smart contract that can update the value of different existing ERC-223 tokens received in the contract as below. Assuming that the IERC223 was taken from here. address[] ...
0
votes
1answer
27 views

Cannot mint ERC223 token

Hello I have a simple implementation for a ERC223 Token. I use this repository: ERC223-token-standard Here is my contract Code: pragma solidity ^0.5.8; import "./ERC223-token-standard-development/...
1
vote
2answers
576 views

Issue with Ganche and Truffle with Metamask. Can't load token balance

I'm testing to create a token in Truffle; it compiles fine, but it won't load the balance of the token in to Metamask. I've set the connection correct: it does load the ETH balances of the Ganache ...
0
votes
0answers
20 views

ERC1410 Security Token

I am searching for an ERC1410 security token contract source code (must be tested) to implement in another contract, there is a github repo available but it is written in the beginning that the code ...
0
votes
0answers
44 views

Accept different tokens for one specific token within the contract

Assuming I want to accept different (let's say 3 or 4) tokens on exchange one specific token (MyToken). Let's call this X transfer. I'm thinking to write ERC223 contract which will accept different ...
2
votes
1answer
60 views

What is the current distribution of ERC Token Standards in the top 100-1000 most active token contracts?

From ERC 677 Motivation ERC20 requires a multistep process for tokens to be transferred to a contract. First approvemust be called on the token contract, enabling the contract to withdraw the ...
1
vote
1answer
24 views

Where can I find public and known ERC20-Contracts from existing ICOs

In order to list real live example code for ERC20-Token and Crowdsales at a talk about Smart Contracts I'm looking for such projects? Who can recommend me the real GOOD examples out there (and not ...
1
vote
2answers
45 views

How can we detect if tokens are transferred to our smart contract and avoid “allow”?

Imagine you have a smart contract that accepts all forms of ERC20s. You want users to call a function by which they will send you their ERC20s and in exchange receive a greeting. Technically we can ...
0
votes
1answer
22 views

why do ERC223 supporting contracts need to maintain the token list

I was going through ERC223 and read that contracts which are supporting any erc223 token contract should maintain the list for them so that they can accept only those tokens. Is that the correct ...
1
vote
1answer
27 views

Will ERC223 Tokens work after Serenity Update?

Trying to understand what we should expect after External Owned Accounts will be treated as Contracts after second Serenity update will be live. How does it influence ERC223 Tokens, will they break ...
1
vote
1answer
405 views

Solidity 0.5.2 - OpenZeppelin - New SafeERC20 callOptionalReturn(token,data)

i've been trying to mix ERC20 functionality with ERC223 function overloading technique and create a bridge for backwards compatibility using SafeERC20. For relevancy sake i renamed SafeERC20 into ...
0
votes
1answer
59 views

Difference between ERC20 and ERC223

i still don't get the idea behind the "if you send 100 ERC20 to a contract, they're stuck there and these 100 ERC20 are lost forever".. i really don't get.. like, a contract has an address and a ...
2
votes
1answer
168 views

Update Solidity - 0.5.4 (ERC20 + ERC677)

I'm trying to create an ERC20 Token that can send Tokens to a Receiver Contract similar to how ERC223 does and i decided to try ERC677 but i can't understand how to update this code to match Solidity ...
0
votes
1answer
48 views

Is there any Reentrancy attack in given code snippet? If yes then how can I fix it?

function withdrawForeignTokens(address _tokenContract) onlyOwner IsAuthenticate public returns (bool) { ERC223Interface token = ERC223Interface(_tokenContract); return token.transfer(...
0
votes
1answer
18 views

Why we use 1000 to divide our fees?

function transferToAddress(address _to, uint _value, bytes memory _data) internal returns (bool success) { require (_to != msg.sender && _to != address(0)); uint fee = ...
2
votes
1answer
117 views

Contract that converts ERC20 token into a new ERC223 according to specific exchange rate

I did some research but I couldn't find anything so specific. I would like users that own a specific ERC20 token to be able to use it to buy an ERC223 token generated by a contract according to ...
0
votes
0answers
29 views

How to accept tokens coming to my contract address and withdraw it on my Owner address in ERC223 token standard smart contract?

I want to withdraw tokens which are coming from different contract addresses, on my Owner address. I am working on ERC223 token standard and solidity version 0.5.1;
0
votes
1answer
77 views

I want to withdraw amount from Receiver Contract's tokenFallback() function in ERC223 how to implement this scenario?

I am using ERC223 standard token transfer contract and receiver contract which includes tokenFallback(). I've transferred tokens from my ERC223 contract to receiver's contract address, now I want to ...
0
votes
1answer
51 views

ERC223 Token doesn't transfer while working with data field in transfer() function

Instead of showing tokens the output shows Internal transactions or just contract interactions. what changes are needed to transfer tokens to any other ERC223 receiver contract? function transfer(...
2
votes
1answer
187 views

What does the assert() indicate here?

Here is code snippet, function transfer(address _to, uint _value, bytes memory _data, string memory _custom_fallback) public returns (bool success) { if(isContract(_to)) { if (balanceOf(...
0
votes
1answer
166 views

remix ERC223: This contract does not implement all functions and thus cannot be created

I can't implement ERC223 contract. remix said " This contract does not implement all functions and thus cannot be created." please tell me what bad it is. pragma solidity ^0.4.25; library ...
3
votes
2answers
39 views

ERC standard that allows sending tokens from many origins to one destination in one transaction?

I know that any kind of operation over a token is possible so long as you implement the smart contract that achieves what you desire. For example, a function multisend can be developed that allows ...
3
votes
1answer
45 views

Is it possible to check the Thrid party token ( USDT ) within my ERC223 contracts?

I want to check how many tokens are received in my contracts, so that I am able to allocate MY TOKENS to the TOKEN Sender. I tried several ways like approveAndCall, but its not working. I don't ...
0
votes
4answers
202 views

Which one should we use ERC-20 or ERC-223

we know that there is new update for ERC20 that is ERC-223 now wich one should we use ?
2
votes
0answers
54 views

Can one store short text data when transacting ERC20 tokens? [duplicate]

I am having trouble understanding if i can store short pieces of text when I send an ERC20 token. I have successfully stored a small message when transacting ETH by converting it to HEX and adding it ...
0
votes
1answer
42 views

What does this error mean and can someone please provide the answer? It keeps saying Parser error on the burn function

Click Here for the image. ` pragma solidity ^0.4.25; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { ...
0
votes
0answers
154 views

Calling ERC223 both transfer functions fail

Given the contracts below (unnecessary code omitted), my tests fail when trying to call the ERC20 transfer() or ERC223 transfer() functions. Why is this happening? Both give Error: VM Exception while ...
1
vote
0answers
184 views

ERC223, drawbacks and exchanges still not supporting it? Should I just use HasNoTokens?

I know it has been discussed many times and in many articles on ERC223, for replacing ERC20. We are launching our tokens and hopefully ICO soon too, it seems that we should go for ERC223, since more ...
1
vote
1answer
313 views

Is it possible to send ERC20 tokens to a smart contract that is written to accept payments..?

I have ERC20 compatible token that is already deployed in the ethereum main-net. I have a requirement to accept these tokens as payment, And this is going to be a new contract, The below are my doubts....
0
votes
1answer
91 views

Is It possible, do not mine ERC based token on the time of deployment in Ethereum test or private Blockchain

I am new to ethereum block-chain.I have created ERC based token (smart contract).I successfully deploy it on ethereum local private block-chain. When I will deploy smart contract token on rinkeby ...
1
vote
0answers
408 views

Why is etherscan showing ERC223 tokens as ERC20 [closed]

I created one token (ERC223) in mainnet using Remix and I tried to search that token address in etherscan.io but it's showing token type as ERC20. Can you please explain why it shows up like this?
0
votes
1answer
138 views

What value pass in argument of transfer function of ERC223 Token

I am implementing a ERC223 token.I successfully deployed ERC223 token on local block-chain network block-chain. transfer function solidity code is:- function transfer(address _to, uint _value, ...
0
votes
1answer
160 views

Can anyone freely call the `tokenFallback()` function in ERC223?

Since the function seems to always be implemented as public, can't an unfair user just call the tokenFallback() function of a receiver contract? That way one could let contracts believe that they ...
1
vote
1answer
62 views

Can a token be required when interacting with a smart contract instead of Ether?

When creating a smart contract in which a user must provide payment, can an amount of a token be required instead of Ether? Could you enable a user to have an option between Ether or a token?
1
vote
2answers
567 views

Differenciate ERC20 / ERC223 / ERC677 Tokens

Are really mind blogging! I am having difficulties to check which version of Token I am handling when I am creating a new contract. How can I easily tell the token that I need to transfer is ERC20 ...
0
votes
2answers
104 views

limit number of token in one address ethereum

Is it possible to create a token that each ethereum address can not exceed 100,000 token. If the token amount exceed the 100,000, it will "overflow" and retrieve the transaction. Thank you
2
votes
2answers
783 views

Is it possible to create ERC223 token that is ERC20 backwards compatible

I'm going to use ERC223 token, but worry about backward compatibility with ERC20. Here are questions that bother me: Two different Transfer events: 3 args ERC20 Transfer(address indexed _from, ...
0
votes
1answer
42 views

Is there a performance penalty towards creating the maximum number of tokens with ERC-20 etc?

I saw this link: Max possible ERC20 Tokens allowed with 18 decimals? Is there a performance penalty for creating so many tokens? Obviously the number of storage capacity needed for mining will be ...
1
vote
1answer
149 views

Transaction fails if the called function is not found

Trying to set a token fallback sort of function here. Main problem: if the receiver has code but does not include the specific function I try to execute it fails. Any way to call an external function, ...
2
votes
1answer
260 views

How to implement user deposits for tokens for an exchange

If we generate new deposit addresses for every user we face following problems: - we need to transfer tokens from individual wallets to our exchange wallets - we need to fund the wallets with ether to ...
2
votes
0answers
105 views

ERC223 Transfer Arguments

There are 2 transfer functions in Dexaran's ERC223 contract. One includes data and the other one doesn't. Does this mean we should choose one transfer function to use in our contracts and ignore the ...
1
vote
1answer
280 views

How to implement function() tokenFallback and decode the parameter bytes _extraData

I want to use the ERC223 approveAndCall() || ERC677 transferAndCall() functionality in a contract. I can take the _extraData string x="0xe359292df082828f595466de72062f2a1182b077",["...
3
votes
1answer
276 views

How can a receiver contract know the original sender with an ERC223 tokenFallback?

When we make a token tx to a receiver contract, the sender has to use the transfer function in the token contract first before being able to send the tokens to the receiver contract. Sender --> Token ...
0
votes
1answer
181 views

An overview of fungible Ethereum Token standards/proposals?

Beside the well known EIP-20, we have a number of other proposals for fungible tokens. Each of them addressing a different set of requirements. [Q] Is there an overview of fungible Token standards/...
0
votes
2answers
461 views

How to make function signature? ERC223 ContractReceiver

Hi what does these lines mean? function tokenFallback(address _from, uint _value, bytes _data) { ... uint32 u = uint32(_data[3]) + (uint32(_data[2]) << 8) + (uint32(_data[1]) << ...
7
votes
2answers
1k views

How to implement the ERC777 token standard?

Does anyone know how to correctly implement the new ERC777 token standard? I've been trying to create an ERC777 contract (see code below) but keep struggling with a couple of things. According to ...
1
vote
2answers
136 views

When creating a new “Coin”, which ERCs should one consider checking out?

When I created a simple coin as a proof concept, I just used ERC20 (Token Standard). Right after creating the contract and showing it to some colleagues, I found out that I should've implemented ...
1
vote
2answers
345 views

ERC223 and money loss

I am trying to understand what money loss case the ERC223 standard is trying to solve. If you send 100 ETH to a contract that is not intended to work with Ether, then it will reject a transaction ...
2
votes
3answers
2k views

How does this code from ERC223 standard implementation work?

Here is a code snippet from the ERC223-token-standard. function transfer(address _to, uint _value, bytes _data) { // Standard function transfer similar to ERC20 transfer with no _data . // ...
1
vote
0answers
564 views

How to create custom ERC20 wallet into my app , to send and receive my tokens?

We have an app for rewards and would like to have a functionality for users to exchange or transfer there tokens to each other. Is there a way i can add that into my app?