Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [erc-223]

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

0
votes
2answers
15 views

Deciding price of my ERC20 Token? [on hold]

I have created the ERC20 token. Without listing into the crypto-exchange. How can I set the price of the token. One way is to decide ,it manually by myself. Is there any other way? Thanks.
0
votes
3answers
57 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
26 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
14 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
60 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
108 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
167 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
0answers
20 views

How to get exact conversion of amount of Erc223 token transfered?

I have used web3js to get block. After this, i get erc223 token transaction and its Input data. From Input attribute, i got receiver address and also number of tokens transferred. But such tokens are ...
0
votes
1answer
60 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
246 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
0answers
59 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
103 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 ...
0
votes
0answers
53 views

What's the most user friendly way to accept ERC-20 tokens deposits?

We want our exchange users to be able to deposit and withdraw erc-20 tokens. My current idea is to provide a new deposits address to each user where they can send their tokens. The alternative would ...
0
votes
0answers
82 views

Safe ERC223 Token with reentrancy protection?

I have this token sketched up for ERC20 compatible wallets, with the ability to send tokens to contracts via the tokenFallback receiver handler. pragma solidity ^0.4.23; library TokenMathLib { ...
1
vote
1answer
45 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?
0
votes
2answers
265 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
58 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
538 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
33 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
111 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, ...
0
votes
1answer
153 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
83 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
227 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",["...
2
votes
1answer
139 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
144 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
371 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]) << ...
6
votes
0answers
652 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
118 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
293 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 ...
0
votes
0answers
451 views

Can't get crowdsale to execute transfer (buy tokens)

i'm trying to do a a test crowdsale of an ERC20+ERC223 Token but I can't get the crowdsale to work. I can however interact with the token's functions. The token contract is deployed seperately from ...
2
votes
3answers
1k 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
522 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?
5
votes
1answer
766 views

ERC223 tokenFallback function doesn`t work

I try use ERC223 token and I want understand how is it work. I use recommended realization of this standard Dexaran This is code of ERC223 token. pragma solidity ^0.4.15; import './ERC223_interface....
1
vote
1answer
89 views

How to call variadic function in erc223 contract

There is two transfer function in my contract, And i m trying to call transfer function of erc223 for transfer token to contract address using this function. Token.deployed().then(function(i){i....
0
votes
1answer
340 views

ERC223 gas savings?

I was curious after reading this article how ERC-223 protocol for token accomplishes this: ERC20 vs ERC223. List of differences Energy savings. The transfer of ERC-223 tokens to a contract is a one ...
3
votes
1answer
633 views

ERC223 backwards compatibility with ERC20

I agree with most of the ideas behind ERC223 and it fits closer with what I think a token should do. However, the ERC20 backwards compatibility story is not flawless. I've searched around for ...
0
votes
1answer
1k views

How to interact with any ERC20 in a smart contract?

How can I interact with various tokens with my deployed smart contract? I want to be able to receive tokens, count them, and perform logic based on the aforementioned events. I tried using the ERC20 ...
2
votes
1answer
651 views

Is it safe to use ERC223 Tokens?

ERC20 Tokens are currently used in more than 90% percent of new tokens. At this point, is it a good idea to use instead ERC223, or should be test it further? Any real example of ERC223?
13
votes
2answers
796 views

What is the latest secure and compatible token standard?

Most tokens are ERC20 tokens with varying implementations, and varying protections against bugs. However, there is the ERC223 token standard, which is an attempt to fix some of the problems in ERC20. ...
0
votes
2answers
296 views

Why does the compiler keep asking me to declare internal functions?

I am using this ERC223 compliant code to accept an ERC20 token as payment (provided by @aviral agrawal). Why does the compiler keep asking me to declare the balances function? I thought it was an ...
27
votes
3answers
18k views

ERC20 vs ERC223. List of differences

Is there a list of improvements that we will have in ERC223? Are there examples of contracts? Is there a migration path for existing ERC20 tokens?