parameters: (self, sender: str, open_block_number: int, deposit: int)
docstring: Notify the channel manager of a new confirmed channel opening.
docstring_summary: Notify the channel manager of a new confirmed channel opening.
docstring_tokens: Notify the channel manager of a new confirmed channel opening .
function: def event_channel_opened(self, sender: str, open_block_number: int, deposit: int):
          """Notify the channel manager of a new confirmed channel opening."""
          assert is_checksum_address(sender)
          if (sender, open_block_number) in self.channels:
              return  # ignore event if already provessed
          c = Channel(self.state.receiver, sender, deposit, open_block_number)
          c.confirmed = True
          c.state = ChannelState.OPEN
          self.log.info('new channel opened (sender %s, block number %s)', sender, open_block_number)
          self.state.set_channel(c)
function_tokens: def event_channel_opened ( self , sender : str , open_block_number : int , deposit : int ) : assert is_checksum_address ( sender ) if ( sender , open_block_number ) in self . channels : return # ignore event if already provessed c = Channel ( self . state . receiver , sender , deposit , open_block_number ) c . confirmed = True c . state = ChannelState . OPEN self . log . info ( 'new channel opened (sender %s, block number %s)' , sender , open_block_number ) self . state . set_channel ( c )